aboutsummaryrefslogtreecommitdiff
path: root/tactics/hints.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-10-02 18:41:39 +0200
committerPierre-Marie Pédrot2020-11-04 13:43:57 +0100
commit511a3eae36d3b57afbbb37b586ef71adf094f8ca (patch)
treea872f16ec4ad0f16b4c906483c712f08c376ca4c /tactics/hints.mli
parentae4346d74acf0d3e48a9660758dd7c064d14f749 (diff)
Encapsulate the last use of IsConstr in the Hints API.
Diffstat (limited to 'tactics/hints.mli')
-rw-r--r--tactics/hints.mli5
1 files changed, 3 insertions, 2 deletions
diff --git a/tactics/hints.mli b/tactics/hints.mli
index 1bbb506761..e74519f12a 100644
--- a/tactics/hints.mli
+++ b/tactics/hints.mli
@@ -199,8 +199,9 @@ val current_pure_db : unit -> hint_db list
val add_hints : locality:Goptions.option_locality -> hint_db_name list -> hints_entry -> unit
-val prepare_hint : bool (* Check no remaining evars *) ->
- env -> evar_map -> evar_map * constr -> (constr * Univ.ContextSet.t)
+val hint_constr :
+ env -> evar_map -> poly:bool -> evar_map * constr -> hint_term * Univ.ContextSet.t
+ [@ocaml.deprecated "Declare a hint constant instead"]
(** A constr which is Hint'ed will be:
- (1) used as an Exact, if it does not start with a product