diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-10 15:49:14 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-10 15:49:14 -0400 |
commit | 0e95aa2c802d0a4fa54ebf985133eb2584a1d9ba (patch) | |
tree | f8d063fc040cfc82b2b55093ef6053799b1c0a97 /src/mono_util.sml | |
parent | 0c1f369955bcdfe949bb6793812ef8ead2963228 (diff) |
More with attributes and efficient serialization
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r-- | src/mono_util.sml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml index d095a69d..d5c047a7 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -145,6 +145,13 @@ fun mapfoldB {typ = fc, exp = fe, bind} = S.map2 (mfe ctx e, fn e' => (EWrite e', loc)) + + | ESeq (e1, e2) => + S.bind2 (mfe ctx e1, + fn e1' => + S.map2 (mfe ctx e2, + fn e2' => + (ESeq (e1', e2'), loc))) in mfe end |