aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorPierre2014-01-11 09:22:47 +0100
committerMatthieu Sozeau2014-05-06 09:58:55 +0200
commit94edcde5a3f4826defe7290bf2a0914c860a85ae (patch)
treec44f2f4841647a98f684dcbb6d6ab25ec6f0c25e /dev
parent757b85ea8e208cf9f58985ed1acaef2cdc8037eb (diff)
'Pretty' printer for wf_paths
Diffstat (limited to 'dev')
-rw-r--r--dev/top_printers.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index 31c5e608a9..857a989dc7 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -59,6 +59,14 @@ let pprecarg = function
str "Imbr[" ++ MutInd.print mind ++ pr_comma () ++ int i ++ str "]"
let ppwf_paths x = pp (Rtree.pp_tree pprecarg x)
+let pprecarg = function
+ | Declarations.Norec -> str "Norec"
+ | Declarations.Mrec (mind,i) ->
+ str "Mrec[" ++ MutInd.print mind ++ pr_comma () ++ int i ++ str "]"
+ | Declarations.Imbr (mind,i) ->
+ str "Imbr[" ++ MutInd.print mind ++ pr_comma () ++ int i ++ str "]"
+let ppwf_paths x = pp (Rtree.pp_tree pprecarg x)
+
(* term printers *)
let rawdebug = ref false
let ppevar evk = pp (str (Evd.string_of_existential evk))