System.Console.Wizard.BasicIO

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

Safe Haskell | Trustworthy
Language | Haskell98

System.Console.Wizard.BasicIO

Contents

- Orphan instances

Synopsis

- data BasicIO a
- basicIO :: Wizard BasicIO a -> Wizard BasicIO a

# Documentation

data BasicIO a #

The `BasicIO` backend supports only simple input and output. Support for `Password` and `LinePrewritten` features can be added with a shim from `Shim`.

#### Instances

Instances details

Functor BasicIO # |
Instance details Defined in System.Console.Wizard.BasicIO Methods fmap :: (a -> b) -> BasicIO a -> BasicIO b # (<$) :: a -> BasicIO b -> BasicIO a #
ArbitraryIO :<: BasicIO # |
Instance details Defined in System.Console.Wizard.BasicIO Methods inj :: ArbitraryIO a -> BasicIO a
Character :<: BasicIO # |
Instance details Defined in System.Console.Wizard.BasicIO Methods inj :: Character a -> BasicIO a
Line :<: BasicIO # |
Instance details Defined in System.Console.Wizard.BasicIO Methods inj :: Line a -> BasicIO a
Output :<: BasicIO # |
Instance details Defined in System.Console.Wizard.BasicIO Methods inj :: Output a -> BasicIO a
OutputLn :<: BasicIO # |
Instance details Defined in System.Console.Wizard.BasicIO Methods inj :: OutputLn a -> BasicIO a
Run IO BasicIO # |
Instance details Defined in System.Console.Wizard.BasicIO Methods runAlgebra :: BasicIO (IO v) -> IO v #

basicIO :: Wizard BasicIO a -> Wizard BasicIO 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.

# Orphan instances

Run IO ArbitraryIO # |
Instance details Methods runAlgebra :: ArbitraryIO (IO v) -> IO v #
Run IO Character # |
Instance details Methods runAlgebra :: Character (IO v) -> IO v #
Run IO Line # |
Instance details Methods runAlgebra :: Line (IO v) -> IO v #
Run IO Output # |
Instance details Methods runAlgebra :: Output (IO v) -> IO v #
Run IO OutputLn # |
Instance details Methods runAlgebra :: OutputLn (IO v) -> IO v #