CabalGild.Unstable.Class.MonadRead
class Monad m => MonadRead m where Source #
A Monad that can also read input, either from standard input (STDIN) or from a file.
Monad
Methods
read :: Input -> m ByteString Source #
Reads input from the given Input.
Input
Uses getContents or readFile.
getContents
readFile
Defined in CabalGild.Unstable.Class.MonadRead
read :: Input -> IO ByteString Source #