\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
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 *)
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 *)
-(* 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 *)