wizards-1.0.1: High level, generic library for interrogative user interfaces

Safe HaskellTrustworthy

System.Console.Wizard.Pure

Synopsis

Documentation

data Pure a Source

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.

data UnexpectedEOI Source

Thrown if the wizard ever unexpectedly runs out of input.

Constructors

UnexpectedEOI 

runPure :: Wizard Pure a -> String -> (Maybe a, String)Source

Run a wizard in the Pure backend

type PureState = ([String], Seq Char)Source

The pure backend is actually just a simple state monad, with the following state.