ContentsIndex
Darcs.IO
Documentation
class (Functor m, MonadPlus m) => ReadableDirectory m where
Methods
mDoesDirectoryExist :: FileName -> m Bool
mDoesFileExist :: FileName -> m Bool
mInCurrentDirectory :: FileName -> m a -> m a
mGetDirectoryContents :: m [FileName]
mReadBinFile :: FileName -> m String
mReadFilePS :: FileName -> m ByteString
mReadFilePSs :: FileName -> m [ByteString]
show/hide Instances
class ReadableDirectory m => WriteableDirectory m where
Methods
mWithCurrentDirectory :: FileName -> m a -> m a
mSetFileExecutable :: FileName -> Bool -> m ()
mWriteBinFile :: FileName -> String -> m ()
mWriteFilePS :: FileName -> ByteString -> m ()
mWriteFilePSs :: FileName -> [ByteString] -> m ()
mCreateDirectory :: FileName -> m ()
mRemoveDirectory :: FileName -> m ()
mWriteDoc :: FileName -> Doc -> m ()
mCreateFile :: FileName -> m ()
mRemoveFile :: FileName -> m ()
mRename :: FileName -> FileName -> m ()
mModifyFilePS :: FileName -> (ByteString -> m ByteString) -> m ()
mModifyFilePSs :: FileName -> ([ByteString] -> m [ByteString]) -> m ()
show/hide Instances
class Monad m => TolerantMonad m where
Methods
warning :: IO () -> m ()
runIO :: m a -> IO a
runTM :: IO a -> m a
show/hide Instances
newtype TolerantIO a
Constructors
TIO
runTolerantly :: IO a
show/hide Instances
newtype SilentIO a
Constructors
SIO
runSilently :: IO a
show/hide Instances
backup :: FileName -> IO ()
Produced by Haddock version 2.4.2