X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fbasic_ag%2Fbag.ml;h=32a9b0c5b983b2361b5495776d6de7575935717e;hb=8a4c83c6341976f2bb70eb44a0c70f2aa95ad3ea;hp=65a93ab18a5ee7af35ed692da1ad52ff9f7a769a;hpb=c8011c7ad75be5d03c4d4bb2e6900af32ad65c07;p=helm.git diff --git a/helm/software/lambda-delta/basic_ag/bag.ml b/helm/software/lambda-delta/basic_ag/bag.ml index 65a93ab18..32a9b0c5b 100644 --- a/helm/software/lambda-delta/basic_ag/bag.ml +++ b/helm/software/lambda-delta/basic_ag/bag.ml @@ -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