| Copyright | (c) Edward Kmett and Dan Doel 2012-2013 |
|---|---|
| License | BSD3 |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Ermine.Console.State
Description
- type Console = StateT ConsoleState IO
- newtype ConsoleState = ConsoleState {
- _consoleIds :: Set String
- class HasConsoleState t where
- consoleState :: Lens' t ConsoleState
- consoleIds :: Lens' t (Set String)
Documentation
type Console = StateT ConsoleState IO Source
The monad in which we perform our console interactions
newtype ConsoleState Source
The extra state we need in order to perform auto-completion in the console
Constructors
| ConsoleState | |
Fields
| |
Instances
| Default ConsoleState | |
| HasConsoleState ConsoleState |