diff options
| author | Gaëtan Gilbert | 2019-07-01 18:45:16 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-07-01 18:45:16 +0200 |
| commit | 47389d31c0aa6fafa1c696b1e6f06059751a8217 (patch) | |
| tree | fd1ec0f4fd05c1591b372684da1833d96ad02ed4 /vernac/comInductive.mli | |
| parent | 82aa7ed1c929533f2b9e7acaa8264c5a81e7a45e (diff) | |
| parent | ac14add1ef27a3c650b825c8a567e0515d32d58d (diff) | |
Merge PR #10433: [vernac] Cleanup on interface of Vernacentries
Reviewed-by: SkySkimmer
Diffstat (limited to 'vernac/comInductive.mli')
| -rw-r--r-- | vernac/comInductive.mli | 8 |
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 |
