data-msgpack-0.0.4: A Haskell implementation of MessagePack

Safe HaskellSafe
LanguageHaskell2010

Data.MessagePack.Generic

Contents

Orphan instances

GMessagePack U1 Source # 

Methods

gToObject :: U1 a -> Object Source #

gFromObject :: (Applicative m, Monad m) => Object -> m (U1 a) Source #

MessagePack a => GMessagePack (K1 i a) Source # 

Methods

gToObject :: K1 i a a -> Object Source #

gFromObject :: (Applicative m, Monad m) => Object -> m (K1 i a a) Source #

(GSumPack a, GSumPack b, SumSize a, SumSize b) => GMessagePack ((:+:) a b) Source # 

Methods

gToObject :: (a :+: b) a -> Object Source #

gFromObject :: (Applicative m, Monad m) => Object -> m ((a :+: b) a) Source #

(GMessagePack a, GProdPack b) => GMessagePack ((:*:) a b) Source # 

Methods

gToObject :: (a :*: b) a -> Object Source #

gFromObject :: (Applicative m, Monad m) => Object -> m ((a :*: b) a) Source #

GMessagePack a => GMessagePack (M1 t c a) Source # 

Methods

gToObject :: M1 t c a a -> Object Source #

gFromObject :: (Applicative m, Monad m) => Object -> m (M1 t c a a) Source #