discontinued File.explode_platform_path -- use plain Path.explode;
authorwenzelm
Mon, 31 Mar 2008 23:08:51 +0200
changeset 26501 494f418cc51c
parent 26500 b4f0f36a28da
child 26502 7f64d8cf6707
discontinued File.explode_platform_path -- use plain Path.explode;
src/HOL/Tools/res_atp.ML
--- a/src/HOL/Tools/res_atp.ML	Sun Mar 30 23:17:55 2008 +0200
+++ b/src/HOL/Tools/res_atp.ML	Mon Mar 31 23:08:51 2008 +0200
@@ -97,13 +97,13 @@
       "" => error  ("Isabelle environment variable " ^ evar ^ " not defined")
     | home =>
         let val path = home ^ "/" ^ base
-        in  if File.exists (File.explode_platform_path path) then path
+        in  if File.exists (Path.explode path) then path
             else error ("Could not find the file " ^ path)
         end;
 
 fun probfile_nosuffix _ =
   if !destdir = "" then File.platform_path (File.tmp_path (Path.basic (!problem_name)))
-  else if File.exists (File.explode_platform_path (!destdir))
+  else if File.exists (Path.explode (!destdir))
   then !destdir ^ "/" ^ !problem_name
   else error ("No such directory: " ^ !destdir);
 
@@ -113,7 +113,7 @@
     let val file = !problem_name
     in
         if !destdir = "" then File.platform_path (File.tmp_path (Path.basic file))
-        else if File.exists (File.explode_platform_path (!destdir))
+        else if File.exists (Path.explode (!destdir))
         then !destdir ^ "/" ^ file
         else error ("No such directory: " ^ !destdir)
     end;
@@ -717,7 +717,7 @@
 
 (*For debugging the generated set of theorem names*)
 fun trace_vector fname =
-  let val path = File.explode_platform_path (fname ^ "_thm_names")
+  let val path = Path.explode (fname ^ "_thm_names")
   in  Vector.app (File.append path o (fn s => s ^ "\n"))  end;
 
 (*We write out problem files for each subgoal. Argument probfile generates filenames,