\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
-type uri = Unit.uri
+type uri = Entity.uri
-type id = Unit.id
+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) *)
+(* entry: line number, parameters, name, domain, (transparent?, body) *)
type entry = int * pars * uri * term * (bool * term) option
-type unit = entry option
+type entity = entry option