Mercurial > urweb
diff src/source.sml @ 156:34ccd7d2bea8
Start of datatype support
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 24 Jul 2008 15:02:03 -0400 |
parents | 7420fa18d657 |
children | a158f8c5aa55 |
line wrap: on
line diff
--- a/src/source.sml Thu Jul 24 11:32:01 2008 -0400 +++ b/src/source.sml Thu Jul 24 15:02:03 2008 -0400 @@ -71,6 +71,8 @@ datatype sgn_item' = SgiConAbs of string * kind | SgiCon of string * kind option * con + | SgiDatatype of string * (string * con option) list + | SgiDatatypeImp of string * string list * string | SgiVal of string * con | SgiStr of string * sgn | SgiSgn of string * sgn @@ -107,6 +109,8 @@ datatype decl' = DCon of string * kind option * con + | DDatatype of string * (string * con option) list + | DDatatypeImp of string * string list * string | DVal of string * con option * exp | DValRec of (string * con option * exp) list | DSgn of string * sgn