Safe Haskell | Trustworthy |
---|---|
Language | Haskell98 |
Documentation
The Pure
backend supports only simple input and output.
Support for Password
and LinePrewritten
features can be added with
a shim from System.Console.Wizard.Shim.
Instances
Functor Pure Source # | |
Character :<: Pure Source # | |
Defined in System.Console.Wizard.Pure | |
Line :<: Pure Source # | |
Defined in System.Console.Wizard.Pure | |
OutputLn :<: Pure Source # | |
Defined in System.Console.Wizard.Pure | |
Output :<: Pure Source # | |
Defined in System.Console.Wizard.Pure | |
Run (State PureState) Pure Source # | |
Defined in System.Console.Wizard.Pure |
data UnexpectedEOI Source #
Thrown if the wizard ever unexpectedly runs out of input.
Instances
Show UnexpectedEOI Source # | |
Defined in System.Console.Wizard.Pure showsPrec :: Int -> UnexpectedEOI -> ShowS # show :: UnexpectedEOI -> String # showList :: [UnexpectedEOI] -> ShowS # | |
Exception UnexpectedEOI Source # | |
Defined in System.Console.Wizard.Pure |
type PureState = ([String], Seq Char) Source #
The pure backend is actually just a simple state monad, with the following state.