diff options
| author | Arnaud Spiwack | 2014-10-22 18:12:52 +0200 |
|---|---|---|
| committer | Arnaud Spiwack | 2014-11-01 22:43:57 +0100 |
| commit | 212dec2878f1dfe2a5fa06ac7722df06ef5dd5a6 (patch) | |
| tree | ee3ca73172b8f2605a1cae1946e63fbdb342c50e /tactics/ftactic.mli | |
| parent | 9826a9f56b11125d6d0b540546f04dc12f845090 (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.mli | 5 |
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 |
