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 | ad7be9f6f9b4bfd6d6a4653b5eed4783a6ddb96e (patch) | |
tree | 95685ca6f24d0e3511588ae55bbdd8a121f97994 /src/mono_util.sml | |
parent | da76d63970055a475aafb8971e773d074878e21b (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' => |