on master help sign in
Export Series
6276c0dBryan O'Sullivan
Data/Aeson.hs+1
@@ -71,6 +71,7 @@ module Data.Aeson
71 , withScientific
71 , withScientific
72 , withBool
72 , withBool
73 -- * Constructors and accessors
73 -- * Constructors and accessors
74+ , Series
74 , series
75 , series
75 , (.:)
76 , (.:)
76 , (.:?)
77 , (.:?)
Data/Aeson/Types.hs+2−1
@@ -15,6 +15,7 @@ module Data.Aeson.Types
15 Value(..)
15 Value(..)
16 , Encoding
16 , Encoding
17 , fromEncoding
17 , fromEncoding
18+ , Series
18 , Array
19 , Array
19 , emptyArray
20 , emptyArray
20 , Pair
21 , Pair
@@ -51,7 +52,7 @@ module Data.Aeson.Types
51 , withScientific
52 , withScientific
52 , withBool
53 , withBool
53
54
54− -- * Constructors and accessors
55+
55 , series
56 , series
56 , (.:)
57 , (.:)
57 , (.:?)
58 , (.:?)
Data/Aeson/Types/Internal.hs+1
@@ -209,6 +209,7 @@ newtype Encoding = Encoding {
209 fromEncoding :: Builder
209 fromEncoding :: Builder
210 } deriving (Monoid)
210 } deriving (Monoid)
211
211
212+-- | A series of values that, when encoded, should be separated by commas.
212data Series = Empty
213data Series = Empty
213 | Value Encoding
214 | Value Encoding
214 deriving (Typeable)
215 deriving (Typeable)