diff src/source.sml @ 211:e86411f647c6

Initial type class support
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 14:32:18 -0400
parents f4033abd6ab1
children 42dfb0d61cf0
line wrap: on
line diff
--- a/src/source.sml	Sat Aug 16 12:35:46 2008 -0400
+++ b/src/source.sml	Sat Aug 16 14:32:18 2008 -0400
@@ -83,6 +83,8 @@
        | SgiInclude of sgn
        | SgiConstraint of con * con
        | SgiTable of string * con
+       | SgiClassAbs of string
+       | SgiClass of string * con
 
 and sgn' =
     SgnConst of sgn_item list
@@ -119,7 +121,7 @@
        | ECut of exp * con
        | EFold
 
-       | ESqlInfer
+       | EWild
 
        | ECase of exp * (pat * exp) list
 
@@ -139,6 +141,7 @@
        | DOpenConstraints of string * string list
        | DExport of str
        | DTable of string * con
+       | DClass of string * con
 
      and str' =
          StrConst of decl list