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 |
- 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
ConsoleState | |
|
Default ConsoleState | |
HasConsoleState ConsoleState |
class HasConsoleState t where Source
consoleState :: Lens' t ConsoleState Source
consoleIds :: Lens' t (Set String) Source