]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brg.ml
some renaming and some interfaces improved
[helm.git] / helm / software / lambda-delta / basic_rg / brg.ml
index 6a9f9fd2088b4c260e75d9ffaca19f567748d0a4..52ec4728f0a6ffe13536cb940adfc55cf02bee37 100644 (file)
@@ -35,9 +35,9 @@ type obj = bind Item.obj (* age, uri, binder *)
 
 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 ***************************************************)
 
@@ -57,9 +57,9 @@ let bind_abst a u t = Bind (Abst (a, u), t)
 
 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