diff options
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 |