summaryrefslogtreecommitdiff
path: root/src/core_util.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_util.sml')
-rw-r--r--src/core_util.sml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core_util.sml b/src/core_util.sml
index 66918863..8a174d9e 100644
--- a/src/core_util.sml
+++ b/src/core_util.sml
@@ -278,6 +278,10 @@ fun mapfoldB {kind = fk, con = fc, exp = fe, bind} =
S.map2 (mfc ctx rest,
fn rest' =>
(EField (e', c', {field = field', rest = rest'}), loc)))))
+ | EFold k =>
+ S.map2 (mfk k,
+ fn k' =>
+ (EFold k', loc))
in
mfe
end