src/Pure/General/file.ML
changeset 60970 e08d868ceca9
parent 59058 a78612c67ec0
child 60982 67e389f67073
--- a/src/Pure/General/file.ML	Tue Aug 18 15:37:50 2015 +0200
+++ b/src/Pure/General/file.ML	Tue Aug 18 16:08:47 2015 +0200
@@ -6,6 +6,7 @@
 
 signature FILE =
 sig
+  val standard_path: Path.T -> string
   val platform_path: Path.T -> string
   val shell_quote: string -> string
   val shell_path: Path.T -> string
@@ -42,15 +43,16 @@
 
 (* system path representations *)
 
-val platform_path = Path.implode o Path.expand;
+val standard_path = Path.implode o Path.expand;
+val platform_path = ml_platform_path o standard_path;
 
 val shell_quote = enclose "'" "'";
-val shell_path = shell_quote o platform_path;
+val shell_path = shell_quote o standard_path;
 
 
 (* current working directory *)
 
-val cd = cd o platform_path;
+val cd = cd o standard_path;
 val pwd = Path.explode o pwd;