tuned;
authorwenzelm
Sun, 30 Apr 2006 22:50:11 +0200
changeset 19517 73361110b570
parent 19516 dcc4b1d5b732
child 19518 5204c73a4d46
tuned;
src/Pure/Isar/local_theory.ML
--- a/src/Pure/Isar/local_theory.ML	Sun Apr 30 22:50:10 2006 +0200
+++ b/src/Pure/Isar/local_theory.ML	Sun Apr 30 22:50:11 2006 +0200
@@ -214,7 +214,7 @@
 
 fun add_axiom hyps (name, prop) thy =
   let
-    val name' = if name = "" then "axiom_" ^ string_of_int (serial ()) else name;
+    val name' = if name = "" then "axiom_" ^ serial_string () else name;
     val frees = rev ([] |> Term.add_frees prop |> fold Term.add_frees hyps);
     val prop' = Term.list_all_free (frees, Logic.list_implies (hyps, prop));
     val thy' = thy |> Theory.add_axioms_i [(name', prop')];