diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-10-31 09:30:22 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-10-31 09:30:22 -0400 |
commit | 4f190e28ca1f36b85cea29ef79b1c9f163779141 (patch) | |
tree | 81322ab53b15b0d76854756431ac4c662825ad59 /src/elab_util.sml | |
parent | 13e1acb4d9330fa4d89ee7acdb4ce02fec964b47 (diff) |
Replace 'with' with '++'
Diffstat (limited to 'src/elab_util.sml')
-rw-r--r-- | src/elab_util.sml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/elab_util.sml b/src/elab_util.sml index 69ed3248..247e2b3a 100644 --- a/src/elab_util.sml +++ b/src/elab_util.sml @@ -309,19 +309,17 @@ fun mapfoldB {kind = fk, con = fc, exp = fe, bind} = S.map2 (mfc ctx rest, fn rest' => (EField (e', c', {field = field', rest = rest'}), loc))))) - | EWith (e1, c, e2, {field, rest}) => + | EConcat (e1, c1, e2, c2) => S.bind2 (mfe ctx e1, fn e1' => - S.bind2 (mfc ctx c, - fn c' => + S.bind2 (mfc ctx c1, + fn c1' => S.bind2 (mfe ctx e2, fn e2' => - S.bind2 (mfc ctx field, - fn field' => - S.map2 (mfc ctx rest, - fn rest' => - (EWith (e1', c', e2', {field = field', rest = rest'}), - loc)))))) + S.map2 (mfc ctx c2, + fn c2' => + (EConcat (e1', c1', e2', c2'), + loc))))) | ECut (e, c, {field, rest}) => S.bind2 (mfe ctx e, fn e' => |