aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/inductive.mli
diff options
context:
space:
mode:
Diffstat (limited to 'checker/inductive.mli')
-rw-r--r--checker/inductive.mli9
1 files changed, 5 insertions, 4 deletions
diff --git a/checker/inductive.mli b/checker/inductive.mli
index 35e040a66..2cf7c70df 100644
--- a/checker/inductive.mli
+++ b/checker/inductive.mli
@@ -75,9 +75,10 @@ type guard_env =
(* the recarg information of inductive family *)
recvec : wf_paths array;
(* dB of variables denoting subterms *)
- genv : subterm_spec list;
+ genv : subterm_spec Lazy.t list;
}
-val subterm_specif : guard_env -> constr -> subterm_spec
-val case_branches_specif : guard_env -> subterm_spec -> inductive ->
- constr array -> (guard_env * constr) array
+type stack_element = |SClosure of guard_env*constr |SArg of subterm_spec Lazy.t
+val subterm_specif : guard_env -> stack_element list -> constr -> subterm_spec
+val branches_specif : guard_env -> subterm_spec Lazy.t -> case_info ->
+ subterm_spec Lazy.t list array