axel-0.0.9: The Axel programming language.

Safe HaskellNone
LanguageHaskell2010

Axel.Eff.FileSystem

Documentation

writeFile :: forall effs. Member FileSystem effs => String -> FilePath -> Eff effs () Source #

setCurrentDirectory :: forall effs. Member FileSystem effs => FilePath -> Eff effs () Source #

removeFile :: forall effs. Member FileSystem effs => FilePath -> Eff effs () Source #

readFile :: forall effs. Member FileSystem effs => FilePath -> Eff effs String Source #

doesDirectoryExist :: forall effs. Member FileSystem effs => FilePath -> Eff effs Bool Source #

createDirectoryIfMissing :: forall effs. Member FileSystem effs => Bool -> FilePath -> Eff effs () Source #

copyFile :: forall effs. Member FileSystem effs => FilePath -> FilePath -> Eff effs () Source #

runEff :: LastMember IO effs => Eff (FileSystem ': effs) ~> Eff effs Source #

withCurrentDirectory :: Member FileSystem effs => FilePath -> Eff effs a -> Eff effs a Source #

withTemporaryDirectory :: Member FileSystem effs => (FilePath -> Eff effs a) -> Eff effs a Source #