Mercurial > urweb
diff src/mono_util.sml @ 94:40d146f467c5
Monoizing cdata
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 03 Jul 2008 17:39:17 -0400 |
parents | 92361a008a10 |
children | 82aaa1c406d3 |
line wrap: on
line diff
--- a/src/mono_util.sml Thu Jul 03 17:14:35 2008 -0400 +++ b/src/mono_util.sml Thu Jul 03 17:39:17 2008 -0400 @@ -133,6 +133,13 @@ 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