msgpack-1.0.1.0: A Haskell implementation of MessagePack

Copyright(c) Daiki Handa 2010-2011
LicenseBSD3
Maintainertanaka.hideyuki@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

Data.MessagePack.Assoc

Description

MessagePack map labeling type

Documentation

newtype Assoc a Source #

Constructors

Assoc 

Fields

Instances
Eq a => Eq (Assoc a) Source # 
Instance details

Defined in Data.MessagePack.Assoc

Methods

(==) :: Assoc a -> Assoc a -> Bool #

(/=) :: Assoc a -> Assoc a -> Bool #

Ord a => Ord (Assoc a) Source # 
Instance details

Defined in Data.MessagePack.Assoc

Methods

compare :: Assoc a -> Assoc a -> Ordering #

(<) :: Assoc a -> Assoc a -> Bool #

(<=) :: Assoc a -> Assoc a -> Bool #

(>) :: Assoc a -> Assoc a -> Bool #

(>=) :: Assoc a -> Assoc a -> Bool #

max :: Assoc a -> Assoc a -> Assoc a #

min :: Assoc a -> Assoc a -> Assoc a #

Read a => Read (Assoc a) Source # 
Instance details

Defined in Data.MessagePack.Assoc

Show a => Show (Assoc a) Source # 
Instance details

Defined in Data.MessagePack.Assoc

Methods

showsPrec :: Int -> Assoc a -> ShowS #

show :: Assoc a -> String #

showList :: [Assoc a] -> ShowS #

NFData a => NFData (Assoc a) Source # 
Instance details

Defined in Data.MessagePack.Assoc

Methods

rnf :: Assoc a -> () #

(MessagePack k, MessagePack v) => MessagePack (Assoc [(k, v)]) Source # 
Instance details

Defined in Data.MessagePack.Object

Methods

toObject :: Assoc [(k, v)] -> Object Source #

fromObject :: Object -> Maybe (Assoc [(k, v)]) Source #

(MessagePack a, MessagePack b) => MessagePack (Assoc (Vector (a, b))) Source # 
Instance details

Defined in Data.MessagePack.Object

Methods

toObject :: Assoc (Vector (a, b)) -> Object Source #

fromObject :: Object -> Maybe (Assoc (Vector (a, b))) Source #