]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/num.ml
Prettier-printing: string_of_problem outputs OCaml code
[fireball-separation.git] / ocaml / num.ml
index eb37e4ca41d0c1b2b6f27f6ddf24edadacaba842..4b8cd5eea829a1fa2e80496d62f89d85a89c29c2 100644 (file)
@@ -2,6 +2,9 @@ open Util
 open Util.Vars
 open Pure
 
+(* debug options *)
+let debug_display_arities = false;;
+
 (************ Syntax ************************************)
 
 (* Normal forms*)
@@ -124,7 +127,7 @@ let rec string_of_term l =
   | #nf as t -> string_of_term_w_pars l t
  and string_of_term_no_pars_lam l  = function
   | `Lam(_,t) -> let name = string_of_var (List.length l) in
-   "λ" ^ name ^ ". " ^ (string_of_term_no_pars_lam (name::l) t)
+     "λ" ^ name ^ ". " ^ (string_of_term_no_pars_lam (name::l) t)
   | _ as t -> string_of_term_no_pars l t
  and string_of_term_no_pars l : nf -> string = function
   | `Lam _ as t -> string_of_term_no_pars_lam l t