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

Safe HaskellTrustworthy
LanguageHaskell98

System.Console.Wizard.Haskeline

Contents

Synopsis

Documentation

data UnexpectedEOF #

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.

Constructors

UnexpectedEOF 

data Haskeline a #

Haskeline supports all the following features completely.

haskeline :: Wizard Haskeline a -> Wizard Haskeline a #

A simple identity function, used to restrict types if the type inferred by GHC is too general. You could achieve the same effect with a type signature, but this is slightly less typing.

withSettings :: WithSettings :<: b => Settings IO -> Wizard b a -> Wizard b a #

Modifies a wizard so that it will run with different Haskeline Settings to the top level input monad.

data WithSettings w #

Constructors

WithSettings (Settings IO) w 

Orphan instances