diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-06-26 11:32:29 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-06-26 11:32:29 -0400 |
commit | 140f5079a41a0aae9ad3e577c96b443eb5337ca5 (patch) | |
tree | 40fb8cd3e4a8812fd9b9952edb403f9547a31c90 /src/core_util.sml | |
parent | 84104b2ae60ef293b9d837998b8162d58e8d4a0e (diff) |
Corify efold
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 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 |