diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-10-25 14:07:10 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-10-25 14:07:10 -0400 |
commit | 5a88b41a6655f601c989ae94ce1fc8bb391ca630 (patch) | |
tree | 95685ca6f24d0e3511588ae55bbdd8a121f97994 /src/mono_util.sml | |
parent | 31da370dd5fae72ddf756aa5ef54241b099fd617 (diff) |
RPC uses VM support for call/cc
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r-- | src/mono_util.sml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml index c660a4a3..24024470 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -362,14 +362,12 @@ fun mapfoldB {typ = fc, exp = fe, bind} = fn e' => (ESignalSource e', loc)) - | EServerCall (s, ek, t, eff) => + | EServerCall (s, t, eff) => S.bind2 (mfe ctx s, fn s' => - S.bind2 (mfe ctx ek, - fn ek' => - S.map2 (mft t, - fn t' => - (EServerCall (s', ek', t', eff), loc)))) + S.map2 (mft t, + fn t' => + (EServerCall (s', t', eff), loc))) | ERecv (s, ek, t) => S.bind2 (mfe ctx s, fn s' => |