Mercurial > urweb
diff src/mono_util.sml @ 1360:02fc16faecf3
[De]serialization of times in JavaScript; proper integer division in JavaScript; Basis.crypt; Top.mkRead'; more aggressive Mono-level inlining, for values of function-y types
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 23 Dec 2010 17:46:40 -0500 |
parents | 6c2e565adca6 |
children | 7bb8c560f23d |
line wrap: on
line diff
--- a/src/mono_util.sml Thu Dec 23 11:23:31 2010 -0500 +++ b/src/mono_util.sml Thu Dec 23 17:46:40 2010 -0500 @@ -200,12 +200,12 @@ S.map2 (mfe ctx e, fn e' => (EUnop (s, e'), loc)) - | EBinop (s, e1, e2) => + | EBinop (bi, s, e1, e2) => S.bind2 (mfe ctx e1, fn e1' => S.map2 (mfe ctx e2, fn e2' => - (EBinop (s, e1', e2'), loc))) + (EBinop (bi, s, e1', e2'), loc))) | ERecord xes => S.map2 (ListUtil.mapfold (fn (x, e, t) =>