diff src/explify.sml @ 72:0ee10f4d73cf

Explify efold
author Adam Chlipala <adamc@hcoop.net>
date Thu, 26 Jun 2008 11:11:13 -0400
parents 6431b315a1e3
children 522f4bd3955e
line wrap: on
line diff
--- a/src/explify.sml	Thu Jun 26 11:09:30 2008 -0400
+++ b/src/explify.sml	Thu Jun 26 11:11:13 2008 -0400
@@ -79,7 +79,7 @@
       | L.ERecord xes => (L'.ERecord (map (fn (c, e, t) => (explifyCon c, explifyExp e, explifyCon t)) xes), loc)
       | L.EField (e1, c, {field, rest}) => (L'.EField (explifyExp e1, explifyCon c,
                                                        {field = explifyCon field, rest = explifyCon rest}), loc)
-      | L.EFold _ => raise Fail "Explify EFold"
+      | L.EFold k => (L'.EFold (explifyKind k), loc)
 
       | L.EError => raise Fail ("explifyExp: EError at " ^ EM.spanToString loc)