Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => MonadRead m where Source #
A Monad
that can also read input, either from standard input (STDIN) or
from a file.
read :: Maybe FilePath -> m ByteString Source #
Reads input from the given file, or from STDIN if the given file is
Nothing
.
Instances
MonadRead IO Source # | Uses |
Defined in CabalGild.Class.MonadRead |