Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Lifted versions of functions working with files and common IO.
All functions are specialized to Text
.
- appendFile :: MonadIO m => FilePath -> Text -> m ()
- getContents :: MonadIO m => m Text
- getLine :: MonadIO m => m Text
- interact :: MonadIO m => (Text -> Text) -> m ()
- openFile :: MonadIO m => FilePath -> IOMode -> m Handle
- readFile :: MonadIO m => FilePath -> m Text
- writeFile :: MonadIO m => FilePath -> Text -> m ()
Documentation
appendFile :: MonadIO m => FilePath -> Text -> m () Source #
Lifted version of appendFile
.
getContents :: MonadIO m => m Text Source #
Lifted version of getContents
.