X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fcommon%2Flibrary.mli;h=3364175bd38b1c84e123585e5bef3c3ed5832fee;hb=e22808c929a9cebf5e4e2b7428ff0cbf89e1f92a;hp=bda10346d4f92dafdc439dc9434b7e198b489907;hpb=a9f15ca61aac8089fb4b599af72533c4a432ba7b;p=helm.git diff --git a/helm/software/lambda-delta/common/library.mli b/helm/software/lambda-delta/common/library.mli index bda10346d..3364175bd 100644 --- a/helm/software/lambda-delta/common/library.mli +++ b/helm/software/lambda-delta/common/library.mli @@ -9,12 +9,44 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) -type 'a out = (unit -> 'a) -> string -> 'a -(* +type och = string -> unit + +type attr = string * string + +type pp = och -> int -> unit + val export_entity: - ('a och -> string -> 'bind Entity.entry -> 'a) -> - string -> bool -> Hierarchy.graph -> 'bind Entity.entity -> 'a -*) -val old_export_entity: - (Format.formatter -> 'bind Entity.entry -> unit) -> - bool -> Hierarchy.graph -> 'bind Entity.entity -> unit + ('term -> pp) -> + bool -> Hierarchy.graph -> 'term Entity.entity -> unit + +val tag: string -> attr list -> ?contents:pp -> pp + +val sort: string + +val lref: string + +val gref: string + +val cast: string + +val appl: string + +val proj: string + +val abst: string + +val abbr: string + +val void: string + +val position: int -> attr + +val offset: int -> attr + +val uri: Entity.uri -> attr + +val arity: int -> attr + +val name: Entity.attrs -> attr + +val mark: Entity.attrs -> attr