Safe Haskell | None |
---|---|
Language | Haskell2010 |
The main game action monad type implementation. Just as any other
component of the library, this implementation can be substituted.
This module should not be imported anywhere except in Action
to expose the executor to any code using the library.
- executorSer :: COps -> KeyKind -> DebugModeSer -> IO ()
- data SerState = SerState {
- serState :: !State
- serServer :: !StateServer
- serDict :: !ConnServerDict
- serToSave :: !(ChanSave (State, StateServer))
- newtype SerImplementation a = SerImplementation {}
Documentation
executorSer :: COps -> KeyKind -> DebugModeSer -> IO () Source #
Run an action in the IO
monad, with undefined state.
Internal operations
SerState | |
|
newtype SerImplementation a Source #
Server state transformation monad.
Monad SerImplementation Source # | |
Functor SerImplementation Source # | |
Applicative SerImplementation Source # | |
MonadStateRead SerImplementation Source # | |
MonadStateWrite SerImplementation Source # | |
MonadAtomic SerImplementation Source # | The game-state semantics of atomic commands as computed on the server. |
MonadServer SerImplementation Source # | |
MonadServerReadRequest SerImplementation Source # | |