]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_ag/bag.ml
some renaming and some interfaces improved
[helm.git] / helm / software / lambda-delta / basic_ag / bag.ml
index 65a93ab18a5ee7af35ed692da1ad52ff9f7a769a..32a9b0c5b983b2361b5495776d6de7575935717e 100644 (file)
@@ -30,9 +30,9 @@ type obj = bind Item.obj (* age, uri, binder *)
 
 type item = bind Item.item
 
-type context = (int * id * bind) list (* location, name, binder *) 
+type lenv = (int * id * bind) list (* location, name, binder *) 
 
-type message = (context, term) Log.item list
+type message = (lenv, term) Log.item list
 
 (* Currified constructors ***************************************************)
 
@@ -60,9 +60,9 @@ let new_location () = let loc = !location in incr location; loc
 
 let locations () = !location
 
-(* context handling functions ***********************************************)
+(* local environment handling functions *************************************)
 
-let empty_context = []
+let empty_lenv = []
 
 let push msg f es l id b =
    let rec does_not_occur loc = function