playground-common-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.IO.Extras

Documentation

withFile :: (MonadMask m, MonadIO m) => FilePath -> IOMode -> (Handle -> m a) -> m a Source #