]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/util.ml
Machine implements strong reduction
[fireball-separation.git] / ocaml / util.ml
index a87b96f920c199bfcf1fd75fdd114b5f992ae8e9..05b952651f4691fd47336241c2f5555b1a1b360f 100644 (file)
@@ -113,6 +113,7 @@ let var_of_string s =
 let print_name l n =
  if n = -1
   then "*"
+  else if n < 0 then "c" ^ string_of_int n
   else if n >= List.length l then "x" ^ string_of_int (List.length l - n - 1) else List.nth l n
 
 end