X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fsrc%2Fbasic_rg%2FbrgUntrusted.ml;h=27f471f9a81eb8899f05f6cf9ed0492f049ab66c;hb=a5709dff43233c041f77a4ee4b7f2df1a3c51ab6;hp=4c1ae61dbc47cfd6cd40220d5832c4e95201f15e;hpb=ab13cfa248f0ee58d239ceeddfb50ec49a6b5c6d;p=helm.git diff --git a/helm/software/lambda-delta/src/basic_rg/brgUntrusted.ml b/helm/software/lambda-delta/src/basic_rg/brgUntrusted.ml index 4c1ae61db..27f471f9a 100644 --- a/helm/software/lambda-delta/src/basic_rg/brgUntrusted.ml +++ b/helm/software/lambda-delta/src/basic_rg/brgUntrusted.ml @@ -9,30 +9,30 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) -module U = NUri -module L = Log -module Y = Entity -module B = Brg -module E = BrgEnvironment -module R = BrgReduction -module T = BrgType +module U = NUri +module L = Log +module E = Entity +module B = Brg +module BE = BrgEnvironment +module BR = BrgReduction +module BT = BrgType (* Interface functions ******************************************************) (* to share *) let type_check err f st = function - | a, uri, Y.Abst t -> + | a, uri, E.Abst (n, t) -> let f xt tt = - let e = E.set_entity (a, uri, Y.Abst xt) in f tt e + let e = BE.set_entity (a, uri, E.Abst (n, xt)) in f tt e in - L.loc := U.string_of_uri uri; T.type_of err f st R.empty_kam t - | a, uri, Y.Abbr t -> + L.loc := U.string_of_uri uri; BT.type_of err f st BR.empty_kam t + | a, uri, E.Abbr t -> let f xt tt = let xt = match xt with | B.Cast _ -> xt | _ -> B.Cast ([], tt, xt) in - let e = E.set_entity (a, uri, Y.Abbr xt) in f tt e + let e = BE.set_entity (a, uri, E.Abbr xt) in f tt e in - L.loc := U.string_of_uri uri; T.type_of err f st R.empty_kam t - | _, _, Y.Void -> assert false + L.loc := U.string_of_uri uri; BT.type_of err f st BR.empty_kam t + | _, _, E.Void -> assert false