\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
-type uri = Item.uri
-
-type id = Item.id
+type uri = Entity.uri
+type id = Entity.id
type term = Sort of bool (* sorts: true = TYPE, false = PROP *)
| LRef of int * int (* local reference: local environment length, de bruijn index *)
| GRef of int * uri * term list (* global reference: local environment length, name, arguments *)
| Appl of term * term (* application: argument, function *)
- | Abst of id * term * term (* abstraction: name, type, scope *)
+ | Abst of id * term * term (* abstraction: name, domain, scope *)
type pars = (id * term) list (* parameter declarations: name, type *)
-(* entry: line number, parameters, name, type, (transparent?, body) *)
-type entry = int * pars * uri * term * (bool * term) option
+type entry = pars * term * term option (* parameters, domain, body *)
-type item = entry option
+type entity = entry Entity.entity