\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
-module U = NUri
-module L = Log
-module Y = Entity
-module B = Bag
-module E = BagEnvironment
-module T = BagType
+module U = NUri
+module L = Log
+module E = Entity
+module Z = Bag
+module ZE = BagEnvironment
+module ZT = BagType
(* Interface functions ******************************************************)
(* to share *)
let type_check f st = function
- | a, uri, Y.Abst t ->
- let f xt tt = E.set_entity (f tt) (a, uri, Y.Abst xt) in
- L.loc := U.string_of_uri uri; T.type_of f st B.empty_lenv t
- | a, uri, Y.Abbr t ->
- let f xt tt = E.set_entity (f tt) (a, uri, Y.Abbr xt) in
- L.loc := U.string_of_uri uri; T.type_of f st B.empty_lenv t
- | _, _, Y.Void -> assert false
+ | a, uri, E.Abst t ->
+ let f xt tt = ZE.set_entity (f tt) (a, uri, E.Abst xt) in
+ L.loc := U.string_of_uri uri; ZT.type_of f st Z.empty_lenv t
+ | a, uri, E.Abbr t ->
+ let f xt tt = ZE.set_entity (f tt) (a, uri, E.Abbr xt) in
+ L.loc := U.string_of_uri uri; ZT.type_of f st Z.empty_lenv t
+ | _, _, E.Void -> assert false