diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-03 17:39:17 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-03 17:39:17 -0400 |
commit | 01f5a1802c6ad76f7389c500af27f8a57456b556 (patch) | |
tree | eddf41699fd98ccd72f1325dd5df6be8a23fc465 /src/mono_util.sml | |
parent | e2aa333c0811b2cd3003f9aac565e64f8ae37dbb (diff) |
Monoizing cdata
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 7e4fe52f..5309244a 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -133,6 +133,13 @@ fun mapfoldB {typ = fc, exp = fe, bind} = S.map2 (mfe ctx e, fn e' => (EField (e', x), loc)) + + | EStrcat (e1, e2) => + S.bind2 (mfe ctx e1, + fn e1' => + S.map2 (mfe ctx e2, + fn e2' => + (EStrcat (e1', e2'), loc))) in mfe end |