summaryrefslogtreecommitdiff
path: root/src/mono_util.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
commit9f6397d0f801f6e020aa6123f14ddc44e11deee7 (patch)
treeab9e9c68fbb15a38d5a42e489dbc1ecdfd886525 /src/mono_util.sml
parentbfad3d26b4471c93b92d41c894e25919fd7bf953 (diff)
Reading cookies works
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r--src/mono_util.sml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml
index 080c3dc9..14ab1674 100644
--- a/src/mono_util.sml
+++ b/src/mono_util.sml
@@ -305,6 +305,12 @@ fun mapfoldB {typ = fc, exp = fe, bind} =
S.map2 (mfe ctx e,
fn e' =>
(ENextval e', loc))
+ | EUnurlify (e, t) =>
+ S.bind2 (mfe ctx e,
+ fn e' =>
+ S.map2 (mft t,
+ fn t' =>
+ (EUnurlify (e', t'), loc)))
in
mfe
end