aboutsummaryrefslogtreecommitdiff
path: root/tactics/ind_tables.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-04-28 16:21:33 +0200
committerPierre-Marie Pédrot2020-04-28 16:31:43 +0200
commit3ff3c18031317dcd08bf081e55212617b8820647 (patch)
tree420126181a1158afda19a649e388e306f41d723c /tactics/ind_tables.mli
parent2c04f5df480492169e533c376cc50caff863ba5a (diff)
Return an option in lookup_scheme.
Diffstat (limited to 'tactics/ind_tables.mli')
-rw-r--r--tactics/ind_tables.mli6
1 files changed, 2 insertions, 4 deletions
diff --git a/tactics/ind_tables.mli b/tactics/ind_tables.mli
index 51f7ef9fd3..9259a4a540 100644
--- a/tactics/ind_tables.mli
+++ b/tactics/ind_tables.mli
@@ -61,10 +61,8 @@ val define_mutual_scheme : mutual scheme_kind -> internal_flag (** internal *) -
(** Main function to retrieve a scheme in the cache or to generate it *)
val find_scheme : ?mode:internal_flag -> 'a scheme_kind -> inductive -> Constant.t * Evd.side_effects
-val check_scheme : 'a scheme_kind -> inductive -> bool
-
-(** Like [find_scheme] but fails when the scheme is not already in the cache *)
-val lookup_scheme : 'a scheme_kind -> inductive -> Constant.t
+(** Like [find_scheme] but does not generate a constant on the fly *)
+val lookup_scheme : 'a scheme_kind -> inductive -> Constant.t option
val pr_scheme_kind : 'a scheme_kind -> Pp.t