aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expl.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/expl.sml')
-rw-r--r--src/expl.sml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expl.sml b/src/expl.sml
index c561ff29..9fea3f19 100644
--- a/src/expl.sml
+++ b/src/expl.sml
@@ -59,6 +59,8 @@ datatype con' =
withtype con = con' located
+datatype datatype_kind = datatype Elab.datatype_kind
+
datatype patCon =
PConVar of int
| PConProj of int * string list * string
@@ -67,7 +69,7 @@ datatype pat' =
PWild
| PVar of string * con
| PPrim of Prim.t
- | PCon of patCon * pat option
+ | PCon of datatype_kind * patCon * pat option
| PRecord of (string * pat * con) list
withtype pat = pat' located