diff src/core_env.sig @ 168:25b169416ea8

Storing datatype constructors in type references past monoize
author Adam Chlipala <adamc@hcoop.net>
date Tue, 29 Jul 2008 15:43:17 -0400
parents 813e5a52063d
children 5d030ee143e2
line wrap: on
line diff
--- a/src/core_env.sig	Tue Jul 29 15:25:42 2008 -0400
+++ b/src/core_env.sig	Tue Jul 29 15:43:17 2008 -0400
@@ -42,6 +42,9 @@
     val pushCNamed : env -> string -> int -> Core.kind -> Core.con option -> env
     val lookupCNamed : env -> int -> string * Core.kind * Core.con option
 
+    val pushDatatype : env -> string -> int -> (string * int * Core.con option) list -> env
+    val lookupDatatype : env -> int -> string * (string * int * Core.con option) list
+
     val pushERel : env -> string -> Core.con -> env
     val lookupERel : env -> int -> string * Core.con