diff src/core_util.sml @ 73:8b611ecc5f2d

Corify efold
author Adam Chlipala <adamc@hcoop.net>
date Thu, 26 Jun 2008 11:32:29 -0400
parents 8e9920db39f2
children 275aaeb73f1f
line wrap: on
line diff
--- a/src/core_util.sml	Thu Jun 26 11:11:13 2008 -0400
+++ b/src/core_util.sml	Thu Jun 26 11:32:29 2008 -0400
@@ -278,6 +278,10 @@
                                              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