type item = bind Item.item
-type context = Null
-(* Cons: tail, relative context, binder *)
- | Cons of context * context option * bind
+type lenv = Null
+(* Cons: tail, relative local environment, binder *)
+ | Cons of lenv * lenv option * bind
(* Currified constructors ***************************************************)
let bind_abbr a v t = Bind (Abbr (a, v), t)
-(* context handling functions ***********************************************)
+(* local environment handling functions *************************************)
-let empty_context = Null
+let empty_lenv = Null
let push f es ?c b =
let es = Cons (es, c, b) in f es