Safe Haskell | Safe-Infered |
---|
- data Haskeline m r
- data UnexpectedEOF = UnexpectedEOF
- runHaskeline :: Wizard Haskeline a -> InputT IO (Maybe a)
- withSettings :: Settings IO -> Wizard Haskeline a -> Wizard Haskeline a
Documentation
A Haskeline backend for wizards
, supporting input, output, default text, and password input.
In addition, Haskeline settings can be modified for a single wizard, and arbitrary IO can be
performed using the MonadIO
instance.
data UnexpectedEOF Source
The Haskeline back-end will throw this exception if EOF is encountered
when it is not expected. Specifically, when actions such as getInputLine
return Nothing
.