]> matita.cs.unibo.it Git - helm.git/blob - helm/software/lambda-delta/common/library.mli
- common/entity: new format for kernel entities
[helm.git] / helm / software / lambda-delta / common / library.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.              
9      \ /   This software is distributed as is, NO WARRANTY.              
10       V_______________________________________________________________ *)
11
12 type och = string -> unit
13
14 type attr = string * string
15
16 type 'a pp = (och -> int -> 'a) -> och -> int -> 'a
17
18 val export_entity:
19    (unit ->'a) -> ('term -> 'a pp) -> 
20    bool -> Hierarchy.graph -> 'term Entity.entity -> 'a
21
22 val tag: string -> attr list -> ?contents:'a pp -> 'a pp 
23
24 val sort: string
25
26 val lref: string
27
28 val gref: string
29
30 val cast: string
31
32 val appl: string
33
34 val proj: string
35
36 val abst: string
37
38 val abbr: string
39
40 val void: string
41
42 val position: int -> attr
43
44 val offset: int -> attr
45
46 val uri: Entity.uri -> attr
47
48 val arity: int -> attr
49
50 val name: Entity.attrs -> attr
51
52 val mark: Entity.attrs -> attr
53
54 val old_export_entity:
55    (Format.formatter -> 'term -> unit) -> 
56    bool -> Hierarchy.graph -> 'term Entity.entity -> unit
57
58 val old_name: Format.formatter -> Entity.attrs -> unit