src/HOL/Matrix/Compute_Oracle/am_ghc.ML
changeset 41490 0f1e411a1448
parent 37872 d83659570337
child 41491 a2ad5b824051
equal deleted inserted replaced
41489:8e2b8649507d 41490:0f1e411a1448
   204 fun get_guid () = 
   204 fun get_guid () = 
   205     let
   205     let
   206         val c = !guid_counter
   206         val c = !guid_counter
   207         val _ = guid_counter := !guid_counter + 1
   207         val _ = guid_counter := !guid_counter + 1
   208     in
   208     in
   209         (LargeInt.toString (Time.toMicroseconds (Time.now ()))) ^ (string_of_int c)
   209         (Int.toString (Time.toMicroseconds (Time.now ()))) ^ (string_of_int c)
   210     end
   210     end
   211 
   211 
   212 fun tmp_file s = Path.implode (Path.expand (File.tmp_path (Path.make [s])));
   212 fun tmp_file s = Path.implode (Path.expand (File.tmp_path (Path.make [s])));
   213 fun wrap s = "\""^s^"\""
   213 fun wrap s = "\""^s^"\""
   214 
   214