aboutsummaryrefslogtreecommitdiff
path: root/tactics/ftactic.mli
diff options
context:
space:
mode:
authorArnaud Spiwack2014-10-22 18:12:52 +0200
committerArnaud Spiwack2014-11-01 22:43:57 +0100
commit212dec2878f1dfe2a5fa06ac7722df06ef5dd5a6 (patch)
treeee3ca73172b8f2605a1cae1946e63fbdb342c50e /tactics/ftactic.mli
parent9826a9f56b11125d6d0b540546f04dc12f845090 (diff)
Info: tactic notations (TacAlias) print their names.
Empirically it works better on some notations than on others and I have no idea why. I've seen notations not printing their arguments, for instance, and other printing perfectly.
Diffstat (limited to 'tactics/ftactic.mli')
-rw-r--r--tactics/ftactic.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/tactics/ftactic.mli b/tactics/ftactic.mli
index 19ef717bc9..3102869ef9 100644
--- a/tactics/ftactic.mli
+++ b/tactics/ftactic.mli
@@ -44,6 +44,11 @@ val enter : ([ `LZ ] Proofview.Goal.t -> 'a t) -> 'a t
(** Enter a goal, without evar normalization. The resulting tactic is
focussed. *)
+val with_env : 'a t -> (Environ.env*'a) t
+(** [with_env t] returns, in addition to the return type of [t], an
+ environment, which is the global environment if [t] does not focus on
+ goals, or the local goal environment if [t] focuses on goals. *)
+
(** {5 Notations} *)
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t