summaryrefslogtreecommitdiff
path: root/src/monoize.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 12:08:41 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 12:08:41 -0500
commitbffeb0e5a10ae58b8f7c3f5249b3665373236e21 (patch)
treeab9e9c68fbb15a38d5a42e489dbc1ecdfd886525 /src/monoize.sml
parent09d844ebdc60010b6b19d1833c213bcbba035515 (diff)
Reading cookies works
Diffstat (limited to 'src/monoize.sml')
-rw-r--r--src/monoize.sml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/monoize.sml b/src/monoize.sml
index 64522a18..b8c3a6a9 100644
--- a/src/monoize.sml
+++ b/src/monoize.sml
@@ -955,7 +955,9 @@ fun monoExp (env, st, fm) (all as (e, loc)) =
in
((L'.EAbs ("c", s, (L'.TFun (un, s), loc),
(L'.EAbs ("_", un, s,
- (L'.EPrim (Prim.String "Cookie!"), loc)), loc)), loc),
+ (L'.EUnurlify ((L'.EFfiApp ("Basis", "get_cookie", [(L'.ERel 1, loc)]), loc),
+ t),
+ loc)), loc)), loc),
fm)
end