Mercurial > urweb
diff src/cjrize.sml @ 164:6847741e1f5f
Datatypes through monoize
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 29 Jul 2008 13:32:07 -0400 |
parents | f0d3402184d1 |
children | e52dfb1e6b19 |
line wrap: on
line diff
--- a/src/cjrize.sml Tue Jul 29 13:16:21 2008 -0400 +++ b/src/cjrize.sml Tue Jul 29 13:32:07 2008 -0400 @@ -160,7 +160,9 @@ fun cifyDecl ((d, loc), sm) = case d of - L.DVal (x, n, t, e, _) => + L.DDatatype _ => raise Fail "Cjrize DDatatype" + + | L.DVal (x, n, t, e, _) => let val (t, sm) = cifyTyp (t, sm)