Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq (Doc r) => Eq (Doc (o -> r)) Source # | |
Eq (Doc (ReturnsM m r)) Source # | |
Eq (Doc (Returns r)) Source # | |
Read (Doc r) => Read (Doc (o -> r)) Source # | |
Read (Doc (ReturnsM m r)) Source # | |
Read (Doc (Returns r)) Source # | |
Show (Doc r) => Show (Doc (o -> r)) Source # | |
Show (Doc (ReturnsM m r)) Source # | |
Show (Doc (Returns r)) Source # | |
data Doc (Returns r) Source # | |
Defined in Network.MessagePack.Interface | |
data Doc (o -> r) Source # | |
Defined in Network.MessagePack.Interface | |
data Doc (ReturnsM m r) Source # | |
Defined in Network.MessagePack.Interface |
Instances
Monad m => IsReturnType m (Returns r) Source # | |
Defined in Network.MessagePack.Server.Basic type HaskellType (Returns r) Source # type ServerType m (Returns r) Source # implement :: InterfaceM m (Returns r) -> HaskellType (Returns r) -> ServerType m (Returns r) Source # | |
IsClientType m (Returns r) Source # | |
Defined in Network.MessagePack.Client.Internal type ClientType m (Returns r) Source # | |
Eq (Doc (Returns r)) Source # | |
Read (Doc (Returns r)) Source # | |
Show (Doc (Returns r)) Source # | |
Typeable r => IsDocType (Returns r) Source # | |
type ServerType m (Returns r) Source # | |
Defined in Network.MessagePack.Server.Basic | |
type ClientType m (Returns r) Source # | |
Defined in Network.MessagePack.Client.Internal | |
type HaskellType (Returns r) Source # | |
Defined in Network.MessagePack.Server.Basic | |
data Doc (Returns r) Source # | |
Defined in Network.MessagePack.Interface |
data ReturnsM (m :: * -> *) r Source #
Instances
MonadIO m => IsReturnType m (ReturnsM IO r) Source # | |
Defined in Network.MessagePack.Server.Basic type HaskellType (ReturnsM IO r) Source # type ServerType m (ReturnsM IO r) Source # implement :: InterfaceM m (ReturnsM IO r) -> HaskellType (ReturnsM IO r) -> ServerType m (ReturnsM IO r) Source # | |
IsClientType m (ReturnsM io r) Source # | |
Defined in Network.MessagePack.Client.Internal type ClientType m (ReturnsM io r) Source # | |
Eq (Doc (ReturnsM m r)) Source # | |
Read (Doc (ReturnsM m r)) Source # | |
Show (Doc (ReturnsM m r)) Source # | |
Typeable r => IsDocType (ReturnsM m r) Source # | |
type ServerType m (ReturnsM IO r) Source # | |
Defined in Network.MessagePack.Server.Basic | |
type ClientType m (ReturnsM io r) Source # | |
Defined in Network.MessagePack.Client.Internal | |
type HaskellType (ReturnsM IO r) Source # | |
Defined in Network.MessagePack.Server.Basic | |
data Doc (ReturnsM m r) Source # | |
Defined in Network.MessagePack.Interface |
rpc :: RpcService rpc => rpc -> ClientType (ClientMonad rpc) (F rpc) Source #
stubs :: (RpcType (ClientType mc f), MethodType ms (ServerType ms f), IsReturnType ms f, IsDocType f, MonadThrow ms) => Text -> Doc f -> HaskellType f -> RpcT mc ms f Source #