moved File.use to ML_Context.use;
authorwenzelm
Sun, 21 Jan 2007 16:43:44 +0100
changeset 22145 fedad292f738
parent 22144 c33450acd873
child 22146 d8cbb198e096
moved File.use to ML_Context.use;
src/Pure/General/file.ML
src/Pure/Thy/thy_load.ML
--- a/src/Pure/General/file.ML	Sun Jan 21 16:43:42 2007 +0100
+++ b/src/Pure/General/file.ML	Sun Jan 21 16:43:44 2007 +0100
@@ -33,7 +33,6 @@
   val eq: Path.T * Path.T -> bool
   val copy: Path.T -> Path.T -> unit
   val copy_dir: Path.T -> Path.T -> unit
-  val use: Path.T -> unit
 end;
 
 structure File: FILE =
@@ -147,9 +146,4 @@
   if eq (src, dst) then ()
   else (system_command ("cp -r -f " ^ shell_path src ^ "/. " ^ shell_path dst); ());
 
-
-(* use ML files *)
-
-val use = Output.ML_errors use o platform_path;
-
 end;
--- a/src/Pure/Thy/thy_load.ML	Sun Jan 21 16:43:42 2007 +0100
+++ b/src/Pure/Thy/thy_load.ML	Sun Jan 21 16:43:44 2007 +0100
@@ -92,7 +92,7 @@
 fun load_file current raw_path =
   (case check_file current raw_path of
     NONE => error ("Could not find ML file " ^ quote (Path.implode raw_path))
-  | SOME (path, info) => (File.use path; (path, info)));
+  | SOME (path, info) => (ML_Context.use path; (path, info)));
 
 
 (* datatype master *)