aboutsummaryrefslogtreecommitdiff
path: root/dev/top_printers.ml
diff options
context:
space:
mode:
authorHugo Herbelin2014-10-09 16:04:15 +0200
committerHugo Herbelin2014-10-09 16:04:15 +0200
commit5eff644c658d1765ba73cd9e73c5bd7819c7d644 (patch)
tree6821466856341de55c5cc15ed73e61da45f80258 /dev/top_printers.ml
parent2d5b39132f4a7dd2541f95d795682089eb1c5f5e (diff)
Adding printer for named_context_val and Goal.goal in debugger.
Diffstat (limited to 'dev/top_printers.ml')
-rw-r--r--dev/top_printers.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index d98810b436..1d903f30f5 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -199,6 +199,8 @@ let ppuniverse_context_future c =
let ctx = Future.force c in
ppuniverse_context ctx
let ppuniverses u = pp (Univ.pr_universes u)
+let ppnamedcontextval e =
+ pp (pr_named_context (Global.env ()) Evd.empty (named_context_of_val e))
let ppenv e = pp
(str "[" ++ pr_named_context_of e Evd.empty ++ str "]" ++ spc() ++