X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Flambda-delta%2Fcommon%2Fhierarchy.mli;h=04feaf92981b1ab4ee3beae9a76e7b49d1cc6c3c;hb=2b1375e4b44e2ef351a6341a5bb0a4823e8daae5;hp=19e94305453935e2641a95bcfce28c6fa9a90db1;hpb=ea41b1f6e212334924a8de4b2ff53b2586de9c4b;p=helm.git diff --git a/helm/software/lambda-delta/common/hierarchy.mli b/helm/software/lambda-delta/common/hierarchy.mli index 19e943054..04feaf929 100644 --- a/helm/software/lambda-delta/common/hierarchy.mli +++ b/helm/software/lambda-delta/common/hierarchy.mli @@ -9,14 +9,16 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) -type graph +val set_sorts: int -> string list -> int -val set_sorts: string list -> int -> int +val string_of_sort: (unit -> 'a) -> (string -> 'a) -> int -> 'a -val get_sort: (unit -> 'a) -> (string -> 'a) -> int -> 'a +val sort_of_string: (unit -> 'a) -> (int -> 'a) -> string -> 'a -val graph_of_string: (unit -> 'a) -> (graph -> 'a) -> string -> 'a +val set_graph: string -> bool -val string_of_graph: graph -> string +val string_of_graph: unit -> string -val apply: graph -> int -> int +val apply: int -> int + +val clear: unit -> unit