diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-02-15 13:03:09 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-02-15 13:03:09 -0500 |
commit | 4f0987ddef3dc105c3883aa9c1c69c29fbe86a8a (patch) | |
tree | 30c7775fe1755a17af3ea46d0a02ebf077c822ac /src/mono_util.sml | |
parent | f083e82c95ac4a9d3a22e032f81b6dc88a88f499 (diff) |
Parameterized RPC query
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r-- | src/mono_util.sml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml index d1157218..00113c9b 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -350,14 +350,12 @@ fun mapfoldB {typ = fc, exp = fe, bind} = fn e' => (ESignalSource e', loc)) - | EServerCall (n, es, ek, t) => - S.bind2 (ListUtil.mapfold (fn e => mfe ctx e) es, - fn es' => - S.bind2 (mfe ctx ek, - fn ek' => - S.map2 (mft t, - fn t' => - (EServerCall (n, es', ek', t'), loc)))) + | EServerCall (n, ek, t) => + S.bind2 (mfe ctx ek, + fn ek' => + S.map2 (mft t, + fn t' => + (EServerCall (n, ek', t'), loc))) in mfe end |