Mercurial > urweb
diff src/mono_reduce.sml @ 465:ddd363e856ff
Cookie prose; fix bugs that broke demo compilation
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 06 Nov 2008 12:46:45 -0500 |
parents | bb27c7efcd90 |
children | 7cb418e9714f |
line wrap: on
line diff
--- a/src/mono_reduce.sml Thu Nov 06 12:22:50 2008 -0500 +++ b/src/mono_reduce.sml Thu Nov 06 12:46:45 2008 -0500 @@ -352,9 +352,10 @@ (EApp (b, liftExpInExp 0 e'), loc)), loc)) | ELet (x, t, e', (EAbs (x', t' as (TRecord [], _), ran, e''), loc)) => - if impure e' then + (*if impure e' then e - else + else*) + (* Seems unsound in general without the check... should revisit later *) EAbs (x', t', ran, (ELet (x, t, liftExpInExp 0 e', swapExpVars 0 e''), loc)) | ELet (x, t, e', b) =>