Safe Haskell | None |
---|---|
Language | Haskell2010 |
Game.LambdaHack.SampleImplementation.SampleMonadServer
Contents
Description
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 {}
- newtype SerImplementation a = SerImplementation {}
Documentation
executorSer :: COps -> KeyKind -> DebugModeSer -> IO () Source #
Run an action in the IO
monad, with undefined state.
Internal operations
Constructors
SerState | |
Fields
|
newtype SerImplementation a Source #
Server state transformation monad.
Constructors
SerImplementation | |
Fields |
Instances
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 # | |