summaryrefslogtreecommitdiff
path: root/src/expl_util.sml
diff options
context:
space:
mode:
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