summaryrefslogtreecommitdiff
path: root/src/expl_util.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-01 13:23:46 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-01 13:23:46 -0400
commit73b8b2cf8afd5cc8969b3bd4d2c238d9c453e8fd (patch)
treec082faa41b174478cadc17f84b65635593ca97af /src/expl_util.sml
parenta0b2a6145f200885f5dd7b365d2ffad51851795e (diff)
Push KUnit and CUnit through the phases
Diffstat (limited to 'src/expl_util.sml')
-rw-r--r--src/expl_util.sml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expl_util.sml b/src/expl_util.sml
index aea9e4f5..57498fde 100644
--- a/src/expl_util.sml
+++ b/src/expl_util.sml
@@ -55,6 +55,8 @@ fun mapfold f =
S.map2 (mfk k,
fn k' =>
(KRecord k', loc))
+
+ | KUnit => S.return2 kAll
in
mfk
end
@@ -144,6 +146,8 @@ fun mapfoldB {kind = fk, con = fc, bind} =
S.map2 (mfk k2,
fn k2' =>
(CFold (k1', k2'), loc)))
+
+ | CUnit => S.return2 cAll
in
mfc
end