]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/num.ml
Fixes to printing
[fireball-separation.git] / ocaml / num.ml
index 443dcdc0272c75fd4806ca18d255e413e008c502..93115a539975b5b6402fd3df1d2328f7ab29c3e0 100644 (file)
@@ -126,7 +126,7 @@ let rec string_of_term l  =
   | `Lam(_,`Bottom) -> "BOMB"
   | `Lam _ as t -> "(" ^ string_of_term_no_pars_lam l t ^ ")"
   | `Match(t,(v,ar),bs_lift,bs,args) ->
-     "[match_"^ string_of_var v ^ (if debug_display_arities then ":"^ string_of_int ar else "") ^"_ " ^ string_of_term_no_pars l (t :> nf) ^
+     "["^ string_of_var v ^ (if debug_display_arities then ":"^ string_of_int ar else "") ^",match " ^ string_of_term_no_pars l (t :> nf) ^
      " with " ^ String.concat " | " (List.map (fun (n,t) -> string_of_int n ^ " => " ^ string_of_term l (lift bs_lift (t :> nf))) !bs) ^ "] " ^
      String.concat " " (List.map (string_of_term l) (args :> nf list)) ^ ")"
   | `Bottom -> "BOT"