Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class IOData a where
Documentation
Data which can be read to and from files and handles.
Note that, for lazy sequences, these operations may perform lazy I/O.
readFile :: MonadIO m => FilePath -> m a Source #
writeFile :: MonadIO m => FilePath -> a -> m () Source #
getLine :: MonadIO m => m a Source #
hGetContents :: MonadIO m => Handle -> m a Source #
hGetLine :: MonadIO m => Handle -> m a Source #
hPut :: MonadIO m => Handle -> a -> m () Source #