Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data InterpreterState settings = InterpreterState {
- settings :: !settings
- input :: !(TBQueue InterpreterRequest)
- newInterpreterState :: forall settings. ToInterpreterState settings => settings -> IO (InterpreterState settings)
Documentation
data InterpreterState settings Source #
Simple state with settings and queue as communication model between bot and backend.
InterpreterState | |
|
Instances
newInterpreterState :: forall settings. ToInterpreterState settings => settings -> IO (InterpreterState settings) Source #
Initialise a state based on its settings.