]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_ag/bagType.ml
some interfaces improved
[helm.git] / helm / software / lambda-delta / basic_ag / bagType.ml
index 30d8ac48b17823b8929efbb85f062b26c6f5a6bf..dbf1bd4ebdc11cea0d652d5ab6fff5e9384f0ec0 100644 (file)
@@ -51,7 +51,7 @@ let rec b_type_of f ~si g c x =
    log1 "Now checking" c x;
    match x with
    | B.Sort h                    ->
-      let f h = f x (B.Sort h) in H.apply f g h
+      let h = H.apply g h in f x (B.Sort h) 
    | B.LRef i                    ->
       let f = function
          | Some (_, B.Abst w)               -> f x w