diff options
Diffstat (limited to 'src/elab_util.sml')
-rw-r--r-- | src/elab_util.sml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/elab_util.sml b/src/elab_util.sml index 7892211c..f764395d 100644 --- a/src/elab_util.sml +++ b/src/elab_util.sml @@ -273,6 +273,11 @@ fun mapfoldB {kind = fk, con = fc, exp = fe, bind} = fn rest' => (EField (e', c', {field = field', rest = rest'}), loc))))) + | EFold k => + S.map2 (mfk k, + fn k' => + (EFold k', loc)) + | EError => S.return2 eAll in mfe |