diff options
| author | Pierre-Marie Pédrot | 2020-04-28 16:21:33 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-04-28 16:31:43 +0200 |
| commit | 3ff3c18031317dcd08bf081e55212617b8820647 (patch) | |
| tree | 420126181a1158afda19a649e388e306f41d723c /tactics/ind_tables.mli | |
| parent | 2c04f5df480492169e533c376cc50caff863ba5a (diff) | |
Return an option in lookup_scheme.
Diffstat (limited to 'tactics/ind_tables.mli')
| -rw-r--r-- | tactics/ind_tables.mli | 6 |
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 |
