Mercurial > urweb
diff src/explify.sml @ 208:63a2f2322c1f
-timing option for command-line compiler
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 16 Aug 2008 10:54:46 -0400 |
parents | dd82457fda82 |
children | e86411f647c6 |
line wrap: on
line diff
--- a/src/explify.sml Thu Aug 14 18:35:08 2008 -0400 +++ b/src/explify.sml Sat Aug 16 10:54:46 2008 -0400 @@ -39,6 +39,7 @@ | L.KRecord k => (L'.KRecord (explifyKind k), loc) | L.KUnit => (L'.KUnit, loc) + | L.KTuple _ => raise Fail "Explify KTuple" | L.KError => raise Fail ("explifyKind: KError at " ^ EM.spanToString loc) | L.KUnif (_, _, ref (SOME k)) => explifyKind k @@ -67,6 +68,9 @@ | L.CUnit => (L'.CUnit, loc) + | L.CTuple _ => raise Fail "Explify CTuple" + | L.CProj _ => raise Fail "Explify CProj" + | L.CError => raise Fail ("explifyCon: CError at " ^ EM.spanToString loc) | L.CUnif (_, _, _, ref (SOME c)) => explifyCon c | L.CUnif _ => raise Fail ("explifyCon: CUnif at " ^ EM.spanToString loc)