aboutsummaryrefslogtreecommitdiff
path: root/kernel/inductive.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inductive.ml')
-rw-r--r--kernel/inductive.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml
index 8ff8ddb85e..918a32c956 100644
--- a/kernel/inductive.ml
+++ b/kernel/inductive.ml
@@ -228,7 +228,9 @@ let arities_of_specif kn (mib,mip) =
let arities_of_constructors ind specif =
arities_of_specif (fst ind) specif
-
+let type_of_constructors ind (mib,mip) =
+ let specif = mip.mind_user_lc in
+ Array.map (constructor_instantiate (fst ind) mib) specif
(************************************************************************)