aboutsummaryrefslogtreecommitdiff
path: root/tactics/tacticMatching.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-07-23 15:44:58 +0200
committerPierre-Marie Pédrot2014-07-28 22:43:48 +0200
commit4580256452e3652df328d286b526c3c12dca7cae (patch)
tree4d1310871d29360f1d84103a6f40dbc76d4bfdba /tactics/tacticMatching.mli
parent88b66654ed4face382cf2c164b6f2f6301fc323d (diff)
CPS-style tactic matching. We use the tactic monad as the target of the CPS.
This allows for tail-rec calls, prevents unwanted capture of closures and results in an overall more efficient evaluation.
Diffstat (limited to 'tactics/tacticMatching.mli')
-rw-r--r--tactics/tacticMatching.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/tacticMatching.mli b/tactics/tacticMatching.mli
index 6889ea0e9b..989f07d671 100644
--- a/tactics/tacticMatching.mli
+++ b/tactics/tacticMatching.mli
@@ -33,7 +33,7 @@ val match_term :
Evd.evar_map ->
Term.constr ->
(Pattern.constr_pattern, Tacexpr.glob_tactic_expr) Tacexpr.match_rule list ->
- Tacexpr.glob_tactic_expr t IStream.t
+ Tacexpr.glob_tactic_expr t Proofview.tactic
(** [match_goal env sigma hyps concl rules] matches the goal
[hyps|-concl] with the set of matching rules [rules]. The
@@ -46,4 +46,4 @@ val match_goal:
Context.named_context ->
Term.constr ->
(Pattern.constr_pattern, Tacexpr.glob_tactic_expr) Tacexpr.match_rule list ->
- Tacexpr.glob_tactic_expr t IStream.t
+ Tacexpr.glob_tactic_expr t Proofview.tactic