]> matita.cs.unibo.it Git - helm.git/commitdiff
pretty printing of URIs
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 4 Jul 2005 14:01:21 +0000 (14:01 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 4 Jul 2005 14:01:21 +0000 (14:01 +0000)
helm/matita/.ocamlinit

index ba19e4e2df4fa6442cd3bddcd2474b21a14268ab..f5c30f839a48a2067c2cea18122352c35f439bd9 100644 (file)
 #directory "../ocaml/xmldiff"
 
 (* custom printers *)
+let fppuri ppf uri =
+ let s = UriManager.string_of_uri uri in
+  Format.pp_print_string ppf s
+;;
+
 #install_printer CicMetaSubst.fppsubst;;
 #install_printer CicMetaSubst.fppterm;;
 #install_printer CicMetaSubst.fppmetasenv;;
+#install_printer fppuri;;
 
 (* utility functions *)
 let go = MatitacLib.go;;