From 1c1accf7186438228be9c426db9071aa95a7e992 Mon Sep 17 00:00:00 2001 From: Matthieu Sozeau Date: Wed, 30 Oct 2013 19:28:55 +0100 Subject: Properly reinstate old-style polymorphism in the kernel and pretyping/retyping. TODO fix interface on knowing_parameters to avoid useless array allocations. --- kernel/inductive.mli | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kernel/inductive.mli') diff --git a/kernel/inductive.mli b/kernel/inductive.mli index a403003e2..a23d170f5 100644 --- a/kernel/inductive.mli +++ b/kernel/inductive.mli @@ -44,10 +44,13 @@ val inductive_params_ctxt : mutual_inductive_body puniverses -> rel_context val instantiate_inductive_constraints : mutual_inductive_body -> universe_subst -> constraints val constrained_type_of_inductive : env -> mind_specif puniverses -> types constrained +val constrained_type_of_inductive_knowing_parameters : + env -> mind_specif puniverses -> types Lazy.t array -> types constrained val type_of_inductive : env -> mind_specif puniverses -> types -val type_of_inductive_knowing_parameters : env -> ?polyprop:bool -> mind_specif puniverses -> types Lazy.t array -> types +val type_of_inductive_knowing_parameters : + env -> ?polyprop:bool -> mind_specif puniverses -> types Lazy.t array -> types val elim_sorts : mind_specif -> sorts_family list -- cgit v1.2.3