diff src/corify.sml @ 213:0343557355fc

Explifying type classes
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 14:45:23 -0400
parents ab86aa858e6c
children 766b5475477f
line wrap: on
line diff
--- a/src/corify.sml	Sat Aug 16 14:36:17 2008 -0400
+++ b/src/corify.sml	Sat Aug 16 14:45:23 2008 -0400
@@ -380,6 +380,7 @@
        | L.KName => (L'.KName, loc)
        | L.KRecord k => (L'.KRecord (corifyKind k), loc)
        | L.KUnit => (L'.KUnit, loc)
+       | L.KTuple _ => raise Fail "Corify KTuple"
 
  fun corifyCon st (c, loc) =
      case c of
@@ -413,6 +414,9 @@
        | L.CFold (k1, k2) => (L'.CFold (corifyKind k1, corifyKind k2), loc)
        | L.CUnit => (L'.CUnit, loc)
 
+       | L.CTuple _ => raise Fail "Corify CTuple"
+       | L.CProj _ => raise Fail "Corify CProj"
+
  fun corifyPatCon st pc =
      case pc of
          L.PConVar n => St.lookupConstructorById st n