11 Directory Functions


module Directory ( 
    createDirectory, removeDirectory, removeFile, 
    renameDirectory, renameFile, getDirectoryContents,
    getCurrentDirectory, setCurrentCirectory ) where

createDirectory         :: FilePath -> IO ()
removeDirectory         :: FilePath -> IO ()
removeFile              :: FilePath -> IO ()
renameDirectory         :: FilePath -> FilePath -> IO ()
renameFile              :: FilePath -> FilePath -> IO ()
getDirectoryContents    :: FilePath -> IO [FilePath]
getCurrentDirectory     :: IO FilePath
setCurrentDirectory     :: FilePath -> IO ()

These functions operate on directories in the file system.

Next section: Interrupt
The Haskell 1.3 Library Report