[project @ 2004-08-19 10:54:34 by malcolm]
[haskell-directory.git] / System / Directory.hs
index 9f8e38e..0f7339e 100644 (file)
@@ -24,6 +24,8 @@ module System.Directory
     , getDirectoryContents      -- :: FilePath -> IO [FilePath]
     , getCurrentDirectory       -- :: IO FilePath
     , setCurrentDirectory       -- :: FilePath -> IO ()
+
+    -- * Pre-defined directories
     , getHomeDirectory
     , getAppUserDataDirectory
     , getUserDocumentsDirectory
@@ -61,6 +63,7 @@ module System.Directory
 
 #ifdef __NHC__
 import Directory
+import System (getEnv)
 getHomeDirectory :: IO FilePath
 getHomeDirectory = getEnv "HOME"
 getAppUserDataDirectory :: String -> IO FilePath