summaryrefslogtreecommitdiff
path: root/src/monoize.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 12:46:45 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 12:46:45 -0500
commit24777c2dc9b6ea0f3db24ae372be2af0c3f70602 (patch)
tree199cf905309f9068ba5eb6d2e395a8f12f403343 /src/monoize.sml
parent6c3a51281f4140589e1b7dfb01b17b6ee38cb4bc (diff)
Cookie prose; fix bugs that broke demo compilation
Diffstat (limited to 'src/monoize.sml')
-rw-r--r--src/monoize.sml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/monoize.sml b/src/monoize.sml
index b8c3a6a9..20677816 100644
--- a/src/monoize.sml
+++ b/src/monoize.sml
@@ -1565,13 +1565,9 @@ fun monoExp (env, st, fm) (all as (e, loc)) =
| L.EFfiApp ("Basis", "nextval", [e]) =>
let
- val un = (L'.TRecord [], loc)
- val int = (L'.TFfi ("Basis", "int"), loc)
val (e, fm) = monoExp (env, st, fm) e
in
- ((L'.EAbs ("_", un, int,
- (L'.ENextval (liftExpInExp 0 e), loc)), loc),
- fm)
+ ((L'.ENextval e, loc), fm)
end
| L.EApp (