[project @ 2004-08-21 10:56:59 by panne]
[haskell-directory.git] / System / Directory.hs
index 78dd94c..096712c 100644 (file)
@@ -63,6 +63,7 @@ module System.Directory
 
 #ifdef __NHC__
 import Directory
+import System (getEnv)
 getHomeDirectory :: IO FilePath
 getHomeDirectory = getEnv "HOME"
 getAppUserDataDirectory :: String -> IO FilePath
@@ -701,7 +702,7 @@ instead.
 On Unix, 'getUserDocumentsDirectory' returns the value of the @HOME@
 environment variable.  On Windows, the system is queried for a
 suitable path; a typical path might be 
-@C:/Documents and Settings/user/My Documents@.
+@C:\/Documents and Settings\/user\/My Documents@.
 
 The operation may fail with: