]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_ag/bagUntrusted.ml
the sort hierarchy parameter enter the kernel status
[helm.git] / helm / software / lambda-delta / basic_ag / bagUntrusted.ml
index 8c6cbb47e1a1cddf55435b4fca9283c4080463b5..33d6a5fbd21985d776425272fd2848e0c8a209ed 100644 (file)
@@ -19,11 +19,11 @@ module T = BagType
 (* Interface functions ******************************************************)
 
 (* to share *)
-let type_check f ?(si=false) g = function
+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 ~si g B.empty_lenv t
+      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 ~si g B.empty_lenv t
+      L.loc := U.string_of_uri uri; T.type_of f st B.empty_lenv t
    | _, _, Y.Void     -> assert false