summaryrefslogtreecommitdiff
path: root/src/elab_env.sig
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-31 10:06:27 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-31 10:06:27 -0400
commitf4351288c5b57b130c0a75e5e84a445ca513527f (patch)
treec0e69cdf2d843fbf3c5d2853ce2effe487090970 /src/elab_env.sig
parentaa1b3a24913edd0dc97af0d1fc9e3dc0026a2460 (diff)
Elaborating some basic pattern matching
Diffstat (limited to 'src/elab_env.sig')
-rw-r--r--src/elab_env.sig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/elab_env.sig b/src/elab_env.sig
index 0afa3114..ff45f056 100644
--- a/src/elab_env.sig
+++ b/src/elab_env.sig
@@ -54,9 +54,11 @@ signature ELAB_ENV = sig
val pushDatatype : env -> int -> (string * int * Elab.con option) list -> env
type datatyp
val lookupDatatype : env -> int -> datatyp
- val lookupConstructor : datatyp -> int -> string * Elab.con option
+ val lookupDatatypeConstructor : datatyp -> int -> string * Elab.con option
val constructors : datatyp -> (string * int * Elab.con option) list
+ val lookupConstructor : env -> string -> (int * Elab.con option * int) option
+
val pushERel : env -> string -> Elab.con -> env
val lookupERel : env -> int -> string * Elab.con