diff options
| author | Pierre-Marie Pédrot | 2020-07-26 15:48:48 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-07-26 15:48:48 +0200 |
| commit | 4b67e6630ed0032d5408a1904b14b35e59aa4c7b (patch) | |
| tree | 2d37e5a5c85a1c67e300493f3c33cfa2eebf62c6 /tactics | |
| parent | 91aef2ce0368b017bb20d7b683b907eb2a1847a9 (diff) | |
| parent | 974401d5dc6164241e0575dc87f1db43f183f968 (diff) | |
Merge PR #12726: Clarify Global.env usage in ppvernac
Reviewed-by: ppedrot
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/ppred.mli | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tactics/ppred.mli b/tactics/ppred.mli index c68fab5296..3996d7edc8 100644 --- a/tactics/ppred.mli +++ b/tactics/ppred.mli @@ -6,10 +6,15 @@ val pr_with_occurrences : val pr_short_red_flag : ('a -> Pp.t) -> 'a glob_red_flag -> Pp.t val pr_red_flag : ('a -> Pp.t) -> 'a glob_red_flag -> Pp.t -val pr_red_expr_env : Environ.env -> Evd.evar_map -> - (Environ.env -> Evd.evar_map -> 'a -> Pp.t) * - (Environ.env -> Evd.evar_map -> 'a -> Pp.t) * +val pr_red_expr : ('a -> Pp.t) * ('a -> Pp.t) * ('b -> Pp.t) * ('c -> Pp.t) -> (string -> Pp.t) -> + ('a,'b,'c) red_expr_gen -> Pp.t + +(** Compared to [pr_red_expr], this immediately applied the tuple + elements to the extra arguments. *) +val pr_red_expr_env : 'env -> 'sigma -> + ('env -> 'sigma -> 'a -> Pp.t) * + ('env -> 'sigma -> 'a -> Pp.t) * ('b -> Pp.t) * - (Environ.env -> Evd.evar_map -> 'c -> Pp.t) -> + ('env -> 'sigma -> 'c -> Pp.t) -> (string -> Pp.t) -> ('a,'b,'c) red_expr_gen -> Pp.t |
