]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/helena/src/basic_rg/brgGallina.ml
new options activated
[helm.git] / helm / software / helena / src / basic_rg / brgGallina.ml
index c886c27f492697db0283ece732bb4ef80e2039df..caa8ab4650b47cc27c1c240289d693ed600c3bf5 100644 (file)
@@ -85,15 +85,15 @@ let rec out_term st p e och = function
       KP.fprintf och "%a" out_uri s
    | B.Cast (_, u, t)                ->
       KP.fprintf och "(%a : %a)" (out_term st false e) t (out_term st false e) u 
-   | B.Appl (_, v, t)                ->
+   | B.Appl (_, _, v, t)             ->
       let pt = match t with B.Appl _ -> false | _ -> true in
       let op, cp = if p then "(", ")" else "", "" in
       KP.fprintf och "%s%a %a%s" op (out_term st pt e) t (out_term st true e) v cp
-   | B.Bind (a, B.Abst (x, n, w), t) ->
+   | B.Bind (a, B.Abst (r, n, w), t) ->
       let p = true in
       let op, cp = if p then "(", ")" else "", "" in
       let a = R.alpha B.mem e a in
-      let ee = B.push e B.empty a (B.abst x n w) in
+      let ee = B.push e B.empty a (B.abst r n w) in
       let ob, cb = match N.to_string st n with
          | "1" -> "forall", ","
          | "2" -> "fun", " =>"