aboutsummaryrefslogtreecommitdiff
path: root/vernac/comInductive.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-06-17 05:10:36 +0200
committerEmilio Jesus Gallego Arias2019-06-27 16:25:43 +0200
commitac14add1ef27a3c650b825c8a567e0515d32d58d (patch)
treec850c224bc5fc901464fe9fe130c978b2c2f411f /vernac/comInductive.mli
parentb1e012f41ef94dae2e57a616011af39b44b56b9d (diff)
[vernac] Cleanup on interface of Vernacentries
Diffstat (limited to 'vernac/comInductive.mli')
-rw-r--r--vernac/comInductive.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/vernac/comInductive.mli b/vernac/comInductive.mli
index a77cd66a33..2d4cd7cac2 100644
--- a/vernac/comInductive.mli
+++ b/vernac/comInductive.mli
@@ -77,3 +77,11 @@ val interp_mutual_inductive :
decl_notation list -> cumulative_inductive_flag ->
poly:bool -> private_flag -> Declarations.recursivity_kind ->
mutual_inductive_entry * UnivNames.universe_binders * one_inductive_impls list
+
+(** Prepare a "match" template for a given inductive type.
+ For each branch of the match, we list the constructor name
+ followed by enough pattern variables.
+ [Not_found] is raised if the given string isn't the qualid of
+ a known inductive type. *)
+
+val make_cases : Names.inductive -> string list list