]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/grafiteAst.ml
New module HMysql (to abstract over Mysql and make profiling easier).
[helm.git] / helm / ocaml / cic_notation / grafiteAst.ml
index f406c44a885d4870333c21b7dfc0e55cef24f803..45f7c1aea7882afbb31bf08374cc27d45dd5f1b1 100644 (file)
@@ -162,6 +162,17 @@ type ('term,'obj) command =
     (* DEBUGGING *)
   | Render of loc * UriManager.uri (* render library object *)
 
+let reash_uris =
+  function
+  | Default (loc, name, uris) ->
+      let uris =
+        List.map
+          (fun uri -> UriManager.uri_of_string (UriManager.string_of_uri uri))
+          uris
+      in
+      Default (loc, name, uris)
+  | cmd -> cmd
+
 type ('term, 'lazy_term, 'reduction, 'ident) tactical =
   | Tactic of loc * ('term, 'lazy_term, 'reduction, 'ident) tactic
   | Do of loc * int * ('term, 'lazy_term, 'reduction, 'ident) tactical