diff options
author | 2008-01-26 17:26:14 -0500 | |
---|---|---|
committer | 2008-01-26 17:26:14 -0500 | |
commit | 1469fd94659b3562ea7e3c180e0366194717a287 (patch) | |
tree | 6a9e3d51ca7418b53b04aa4cbfbc9f779f2747fa /src/elab.sml | |
parent | c3c7a475626786988f0a367fc3c20f903f3fcbba (diff) |
Added simple expression constructors to Elab
Diffstat (limited to 'src/elab.sml')
-rw-r--r-- | src/elab.sml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/elab.sml b/src/elab.sml index 5e1a3a9b..a289d633 100644 --- a/src/elab.sml +++ b/src/elab.sml @@ -64,8 +64,21 @@ datatype con' = withtype con = con' located +datatype exp' = + ERel of int + | ENamed of int + | EApp of exp * exp + | EAbs of string * con * exp + | ECApp of exp * con + | ECAbs of explicitness * string * kind * exp + + | EError + +withtype exp = exp' located + datatype decl' = DCon of string * int * kind * con + | DVal of string * int * con * exp withtype decl = decl' located |