]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/metadataPp.ml
uses CicPp.ppsort
[helm.git] / helm / ocaml / metadata / metadataPp.ml
index 33f10427ffa41e59f0c8d4a9e83eaeffaf8a5698..e2e21662b371a3c58711d30d569aa4b27ecdc92e 100644 (file)
@@ -57,16 +57,10 @@ let metadata_ns = "http://www.cs.unibo.it/helm/schemas/schema-helm"
 let uri_of_pos pos = String.concat "#" [metadata_ns; pp_position pos]
 *)
 
-let pp_sort = function
-  | Cic.Prop -> "Prop"
-  | Cic.Set -> "Set"
-  | Cic.Type _ -> "Type"
-  | Cic.CProp -> "CProp"
-
 type t = [ `Int of int | `String of string | `Null ]
 
 let columns_of_metadata ~about metadatas =
-  let sort s = `String (pp_sort s) in
+  let sort s = `String (CicPp.ppsort s) in
   let source = `String about in
   let occurrence u = `String u in
   List.fold_left