summaryrefslogtreecommitdiff
path: root/src/mono_util.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 13:29:01 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 13:29:01 -0400
commit9f8b222f6667f4e7dec2105ea4f5c2abdfd29dc9 (patch)
tree90104da9ab622189caffe5a38bddcb8bfe797233 /src/mono_util.sml
parent4a627a550cb54c18cb16cc0ad852e6a0bbc59c31 (diff)
pquery working with all four types of columns
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r--src/mono_util.sml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml
index 90ae3a4f..3e6a9f0f 100644
--- a/src/mono_util.sml
+++ b/src/mono_util.sml
@@ -145,6 +145,10 @@ fun mapfoldB {typ = fc, exp = fe, bind} =
S.map2 (mfe ctx e,
fn e' =>
(ECon (dk, n, SOME e'), loc))
+ | ENone t =>
+ S.map2 (mft t,
+ fn t' =>
+ (ENone t', loc))
| ESome (t, e) =>
S.bind2 (mft t,
fn t' =>