Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PingPongServer (m :: Type -> Type) a = PingPongServer {
- recvMsgPing :: m (PingPongServer m a)
- recvMsgDone :: a
- pingPongServerPeer :: forall (m :: Type -> Type) a. Monad m => PingPongServer m a -> Server PingPong 'NonPipelined 'StIdle m a
Documentation
data PingPongServer (m :: Type -> Type) a Source #
PingPongServer | |
|
pingPongServerPeer :: forall (m :: Type -> Type) a. Monad m => PingPongServer m a -> Server PingPong 'NonPipelined 'StIdle m a Source #
Interpret a particular server action sequence into the server side of the
PingPong
protocol.