diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-08-25 13:57:56 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-08-25 13:57:56 -0400 |
commit | 7c866487f8ab0dd9b9c73bee013c18805a0c4489 (patch) | |
tree | eccb7d719d3ca507893680773971963313bd56c2 /src/mono_util.sml | |
parent | dadc173e9a2d4f130a573f59adce2e386901c18d (diff) |
grid1 compiles but gets stuck in JS
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r-- | src/mono_util.sml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml index 0a4bb048..e2bed8eb 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -362,16 +362,14 @@ fun mapfoldB {typ = fc, exp = fe, bind} = fn e' => (ESignalSource e', loc)) - | EServerCall (s, ek, t, eff, ue) => + | EServerCall (s, ek, t, eff) => S.bind2 (mfe ctx s, fn s' => S.bind2 (mfe ctx ek, fn ek' => - S.bind2 (mft t, + S.map2 (mft t, fn t' => - S.map2 (mfe ctx ue, - fn ue' => - (EServerCall (s', ek', t', eff, ue'), loc))))) + (EServerCall (s', ek', t', eff), loc)))) | ERecv (s, ek, t) => S.bind2 (mfe ctx s, fn s' => |