diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-04 15:56:47 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-04 15:56:47 -0400 |
commit | b05b60f5cdaa0da92af54640f8a2db6e18a283ba (patch) | |
tree | 3464b0dbe1197e509f51d5f6181dda2804344e26 /src/mono_util.sml | |
parent | 221615de9d28d6fa768ef3ce28483ed90d2aab6c (diff) |
sleep and better Scriptcheck
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r-- | src/mono_util.sml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml index bbc9c7e7..9455435c 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -360,12 +360,18 @@ fun mapfoldB {typ = fc, exp = fe, bind} = (EServerCall (s', ek', t'), loc)))) | ERecv (s, ek, t) => S.bind2 (mfe ctx s, - fn s' => - S.bind2 (mfe ctx ek, - fn ek' => - S.map2 (mft t, - fn t' => - (ERecv (s', ek', t'), loc)))) + fn s' => + S.bind2 (mfe ctx ek, + fn ek' => + S.map2 (mft t, + fn t' => + (ERecv (s', ek', t'), loc)))) + | ESleep (s, ek) => + S.bind2 (mfe ctx s, + fn s' => + S.map2 (mfe ctx ek, + fn ek' => + (ESleep (s', ek'), loc))) in mfe end |