src/HOL/Matrix/FloatSparseMatrixBuilder.ML
changeset 41491 a2ad5b824051
parent 37788 261c61fabc98
child 46531 eff798e48efc
--- a/src/HOL/Matrix/FloatSparseMatrixBuilder.ML	Mon Jan 10 15:30:17 2011 +0100
+++ b/src/HOL/Matrix/FloatSparseMatrixBuilder.ML	Mon Jan 10 15:45:46 2011 +0100
@@ -144,7 +144,7 @@
 
         fun nameof i =
             let
-                val s = "x"^(Int.toString i)
+                val s = "x" ^ string_of_int i
                 val _ = Unsynchronized.change ytable (Inttab.update (i, s))
             in
                 s
@@ -201,7 +201,7 @@
             else case Int.fromString (String.extract(s, 1, NONE)) of
                      SOME i => i | NONE => raise (No_name s)
 
-        fun nameof i = "y"^(Int.toString i)
+        fun nameof i = "y" ^ string_of_int i
 
         fun split_numstr s =
             if String.isPrefix "-" s then (false,String.extract(s, 1, NONE))