| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell98 |
System.Console.Wizard.Pure
Contents
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 # | |
| Character :<: Pure # | |
Defined in System.Console.Wizard.Pure | |
| Line :<: Pure # | |
Defined in System.Console.Wizard.Pure | |
| Output :<: Pure # | |
Defined in System.Console.Wizard.Pure | |
| OutputLn :<: Pure # | |
Defined in System.Console.Wizard.Pure | |
| Run (State PureState) Pure # | |
Defined in System.Console.Wizard.Pure | |
data UnexpectedEOI #
Thrown if the wizard ever unexpectedly runs out of input.
Constructors
| UnexpectedEOI |
Instances
| Exception UnexpectedEOI # | |
Defined in System.Console.Wizard.Pure Methods toException :: UnexpectedEOI -> SomeException # fromException :: SomeException -> Maybe UnexpectedEOI # displayException :: UnexpectedEOI -> String # backtraceDesired :: UnexpectedEOI -> Bool # | |
| Show UnexpectedEOI # | |
Defined in System.Console.Wizard.Pure Methods showsPrec :: Int -> UnexpectedEOI -> ShowS # show :: UnexpectedEOI -> String # showList :: [UnexpectedEOI] -> ShowS # | |
type PureState = ([String], Seq Char) #
The pure backend is actually just a simple state monad, with the following state.