Mercurial > urweb
diff src/explify.sml @ 68:c1e21ab42896
Explify cfold
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 26 Jun 2008 09:51:28 -0400 |
parents | 9f89f0b00b84 |
children | 6431b315a1e3 |
line wrap: on
line diff
--- a/src/explify.sml Thu Jun 26 09:48:54 2008 -0400 +++ b/src/explify.sml Thu Jun 26 09:51:28 2008 -0400 @@ -59,7 +59,7 @@ | L.CRecord (k, xcs) => (L'.CRecord (explifyKind k, map (fn (c1, c2) => (explifyCon c1, explifyCon c2)) xcs), loc) | L.CConcat (c1, c2) => (L'.CConcat (explifyCon c1, explifyCon c2), loc) - | L.CFold _ => raise Fail "Explify CFold" + | L.CFold (dom, ran) => (L'.CFold (explifyKind dom, explifyKind ran), loc) | L.CError => raise Fail ("explifyCon: CError at " ^ EM.spanToString loc) | L.CUnif (_, _, ref (SOME c)) => explifyCon c