diff options
Diffstat (limited to 'src/core_util.sml')
-rw-r--r-- | src/core_util.sml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core_util.sml b/src/core_util.sml index 8a174d9e..f0a37356 100644 --- a/src/core_util.sml +++ b/src/core_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 @@ -149,6 +151,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 |