aboutsummaryrefslogtreecommitdiffhomepage
path: root/printing/printer.mli
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-04-17 15:00:23 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-04-17 15:00:23 +0000
commitb40a928259fba6c22eb70909ab5e86681ad2ec61 (patch)
treef1bd7bea7e3f195606e2603f048fc90e224899eb /printing/printer.mli
parentfa40a7313918a8f7f37fb5a9620b6c1354dde9e0 (diff)
Improving error message in explain_cannot_find_well_typed_abstraction:
make head bound variables distinct from the variables in environment, so that the naming scheme is the same when, say, printing "fun x:B => foo x" in environment "x:A" (main error with explicit "fun") and when printing (secondary error in the "reason" message) "foo x" in environment "x:A, x:B" (i.e. with "fun" discharged in environment). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16415 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'printing/printer.mli')
-rw-r--r--printing/printer.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/printing/printer.mli b/printing/printer.mli
index 2bc589b63..b99a9f9ab 100644
--- a/printing/printer.mli
+++ b/printing/printer.mli
@@ -28,9 +28,11 @@ open Tacexpr
val pr_lconstr_env : env -> constr -> std_ppcmds
val pr_lconstr : constr -> std_ppcmds
+val pr_lconstr_goal_style_env : env -> constr -> std_ppcmds
val pr_constr_env : env -> constr -> std_ppcmds
val pr_constr : constr -> std_ppcmds
+val pr_constr_goal_style_env : env -> constr -> std_ppcmds
(** Same, but resilient to [Nametab] errors. Prints fully-qualified
names when [shortest_qualid_of_global] has failed. Prints "??"