diff src/corify.sml @ 69:8e9920db39f2

Corify cfold
author Adam Chlipala <adamc@hcoop.net>
date Thu, 26 Jun 2008 09:53:52 -0400
parents c1e21ab42896
children 0ee10f4d73cf
line wrap: on
line diff
--- a/src/corify.sml	Thu Jun 26 09:51:28 2008 -0400
+++ b/src/corify.sml	Thu Jun 26 09:53:52 2008 -0400
@@ -244,7 +244,7 @@
       | L.CRecord (k, xcs) =>
         (L'.CRecord (corifyKind k, map (fn (c1, c2) => (corifyCon st c1, corifyCon st c2)) xcs), loc)
       | L.CConcat (c1, c2) => (L'.CConcat (corifyCon st c1, corifyCon st c2), loc)
-      | L.CFold _ => raise Fail "Corify CFold"
+      | L.CFold (k1, k2) => (L'.CFold (corifyKind k1, corifyKind k2), loc)
 
 fun corifyExp st (e, loc) =
     case e of