]> matita.cs.unibo.it Git - fireball-separation.git/commitdiff
Missing parenthesis fixed
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 18 Jul 2017 15:55:29 +0000 (17:55 +0200)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 18 Jul 2017 15:55:29 +0000 (17:55 +0200)
ocaml/num.ml

index 4e44c79731ec475477082a9418791329fb6a2176..7e5248258253b2cbff117aca792e2bd54da1c4fd 100644 (file)
@@ -132,7 +132,7 @@ let rec string_of_term =
   | `Lam _ as t -> "(" ^ string_of_term_no_pars_lam lev l t ^ ")"
   | `Match(t,(v,ar),bs_lift,bs,args) ->
       (* assert (bs_lift = lev); *)
-     "["^ varname lev l v ^ (if debug_display_arities then ":"^ string_of_int ar else "") ^",match " ^ string_of_term_no_pars lev l (t :> nf) ^
+     "(["^ varname lev l v ^ (if debug_display_arities then ":"^ string_of_int ar else "") ^",match " ^ string_of_term_no_pars lev l (t :> nf) ^
      " with " ^ String.concat " | " (List.map (fun (n,t) -> string_of_int n ^ " => " ^ string_of_term l (t :> nf)) !bs) ^ "] " ^
      String.concat " " (List.map (string_of_term l) (args :> nf list)) ^ ")"
   | `Bottom -> "BOT"