diff options
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r-- | src/mono_util.sml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml index 90ae3a4f..3e6a9f0f 100644 --- a/src/mono_util.sml +++ b/src/mono_util.sml @@ -145,6 +145,10 @@ fun mapfoldB {typ = fc, exp = fe, bind} = S.map2 (mfe ctx e, fn e' => (ECon (dk, n, SOME e'), loc)) + | ENone t => + S.map2 (mft t, + fn t' => + (ENone t', loc)) | ESome (t, e) => S.bind2 (mft t, fn t' => |