]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/common/hierarchy.mli
some stuff on re
[helm.git] / helm / software / lambda-delta / common / hierarchy.mli
index 57413d909625e1b717d908d7dd86ce56c6f32a7b..04feaf92981b1ab4ee3beae9a76e7b49d1cc6c3c 100644 (file)
@@ -9,16 +9,16 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-type graph
+val set_sorts: int -> string list -> int
 
-val set_new_sorts: (int -> 'a) -> string list -> 'a
+val string_of_sort: (unit -> 'a) -> (string -> 'a) -> int -> 'a
 
-val get_sort: (string option -> 'a) -> int -> 'a
+val sort_of_string: (unit -> 'a) -> (int -> 'a) -> string -> 'a
 
-val graph_of_string: (graph option -> 'a) -> string -> 'a
+val set_graph: string -> bool
 
-val string_of_graph: (string -> 'a) -> graph -> 'a
+val string_of_graph: unit -> string
 
-val apply: (int -> 'a) -> graph -> int -> 'a
+val apply: int -> int
 
-val graph: graph ref
+val clear: unit -> unit