Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
withFileAsInput :: MonadUnliftIO m => FilePath -> (InputStream ByteString -> m a) -> m a Source #
withFileAsOutput :: MonadUnliftIO m => FilePath -> (OutputStream ByteString -> m a) -> m a Source #
withFileAsOutputExt :: MonadUnliftIO m => FilePath -> IOMode -> BufferMode -> (OutputStream ByteString -> m a) -> m a Source #