comparison src/cjr.sml @ 196:890a61991263

Lists all the way through
author Adam Chlipala <adamc@hcoop.net>
date Sat, 09 Aug 2008 16:48:32 -0400
parents 8e9f97508f0d
children fac9fae654e2
comparison
equal deleted inserted replaced
195:85b5f663bb86 196:890a61991263
33 33
34 datatype typ' = 34 datatype typ' =
35 TTop 35 TTop
36 | TFun of typ * typ 36 | TFun of typ * typ
37 | TRecord of int 37 | TRecord of int
38 | TDatatype of datatype_kind * int * (string * int * typ option) list 38 | TDatatype of datatype_kind * int * (string * int * typ option) list ref
39 | TFfi of string * string 39 | TFfi of string * string
40 40
41 withtype typ = typ' located 41 withtype typ = typ' located
42 42
43 datatype patCon = 43 datatype patCon =
73 withtype exp = exp' located 73 withtype exp = exp' located
74 74
75 datatype decl' = 75 datatype decl' =
76 DStruct of int * (string * typ) list 76 DStruct of int * (string * typ) list
77 | DDatatype of datatype_kind * string * int * (string * int * typ option) list 77 | DDatatype of datatype_kind * string * int * (string * int * typ option) list
78 | DDatatypeForward of datatype_kind * string * int
78 | DVal of string * int * typ * exp 79 | DVal of string * int * typ * exp
79 | DFun of string * int * (string * typ) list * typ * exp 80 | DFun of string * int * (string * typ) list * typ * exp
80 | DFunRec of (string * int * (string * typ) list * typ * exp) list 81 | DFunRec of (string * int * (string * typ) list * typ * exp) list
81 82
82 withtype decl = decl' located 83 withtype decl = decl' located