rest-stringmap-0.2.0.6: Maps with stringy keys that can be transcoded to JSON and XML.

Safe HaskellNone
LanguageHaskell2010

Rest.StringMap.Map.Lazy

Documentation

data StringMap a b Source

Instances

(Eq a, Eq b) => Eq (StringMap a b) 
(Show a, Show b) => Show (StringMap a b) 
(ToString a, ToJSON b) => ToJSON (StringMap a b) 
(Ord a, IsString a, FromJSON b) => FromJSON (StringMap a b) 
XmlPickler b => XmlPickler (StringMap String b) 
(Ord a, IsString a, ToString a, XmlPickler b) => XmlPickler (StringMap a b) 
JSONSchema b => JSONSchema (StringMap a b) 
Typeable (* -> * -> *) StringMap 

fromMap :: Map a b -> StringMap a b Source

toMap :: StringMap a b -> Map a b Source

toList :: StringMap a b -> [(a, b)] Source

fromList :: Ord a => [(a, b)] -> StringMap a b Source