diff options
Diffstat (limited to 'src/core.sml')
-rw-r--r-- | src/core.sml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.sml b/src/core.sml index 5baa0351..257f7ed1 100644 --- a/src/core.sml +++ b/src/core.sml @@ -65,10 +65,10 @@ datatype patCon = datatype pat' = PWild - | PVar of string + | PVar of string * con | PPrim of Prim.t | PCon of patCon * pat option - | PRecord of (string * pat) list + | PRecord of (string * pat * con) list withtype pat = pat' located @@ -89,7 +89,7 @@ datatype exp' = | ECut of exp * con * { field : con, rest : con } | EFold of kind - | ECase of exp * (pat * exp) list * con + | ECase of exp * (pat * exp) list * { disc : con, result : con } | EWrite of exp |