Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class MsgpackEncode a where Source #
Nothing
Instances
class GMsgpackEncode f where Source #
gMsgpackEncode :: f a -> Object Source #
Instances
(GMsgpackEncode f, GMsgpackEncode g) => GMsgpackEncode (f :+: g :: k -> Type) Source # | |
Defined in Ribosome.Msgpack.Encode gMsgpackEncode :: forall (a :: k0). (f :+: g) a -> Object Source # | |
GMsgpackEncode f => GMsgpackEncode (D1 c f :: k -> Type) Source # | |
Defined in Ribosome.Msgpack.Encode gMsgpackEncode :: forall (a :: k0). D1 c f a -> Object Source # | |
MsgpackEncode a => GMsgpackEncode (K1 i a :: k -> Type) Source # | |
Defined in Ribosome.Msgpack.Encode gMsgpackEncode :: forall (a0 :: k0). K1 i a a0 -> Object Source # | |
(Constructor c, MsgpackEncodeProd f) => GMsgpackEncode (C1 c f :: k -> Type) Source # | |
Defined in Ribosome.Msgpack.Encode gMsgpackEncode :: forall (a :: k0). C1 c f a -> Object Source # |
class MsgpackEncodeProd f where Source #
msgpackEncodeRecord :: f a -> [(String, Object)] Source #
msgpackEncodeProd :: f a -> [Object] Source #
Instances
(Selector s, GMsgpackEncode f) => MsgpackEncodeProd (S1 s f :: k -> Type) Source # | |
Defined in Ribosome.Msgpack.Encode | |
(MsgpackEncodeProd f, MsgpackEncodeProd g) => MsgpackEncodeProd (f :*: g :: k -> Type) Source # | |
Defined in Ribosome.Msgpack.Encode |
prodOrNewtype :: MsgpackEncodeProd f => f a -> Object Source #