diff src/expl.sml @ 188:8e9f97508f0d

Datatype representation optimization
author Adam Chlipala <adamc@hcoop.net>
date Sun, 03 Aug 2008 19:49:21 -0400
parents d11754ffe252
children aa54250f58ac
line wrap: on
line diff
--- a/src/expl.sml	Sun Aug 03 19:01:16 2008 -0400
+++ b/src/expl.sml	Sun Aug 03 19:49:21 2008 -0400
@@ -59,6 +59,8 @@
 
 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 @@
          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