aeson 0.7.0.1 → 0.7.0.2
raw patch · 2 files changed
+7/−7 lines, 2 filesdep ~unordered-containers
Dependency ranges changed: unordered-containers
Files
- Data/Aeson/Types/Class.hs +4/−4
- aeson.cabal +3/−3
Data/Aeson/Types/Class.hs view
@@ -66,7 +66,7 @@ -- -- @{-\# LANGUAGE OverloadedStrings #-} ----- data Coord { x :: Double, y :: Double }+-- data Coord = Coord { x :: Double, y :: Double } -- -- instance ToJSON Coord where -- toJSON (Coord x y) = 'object' [\"x\" '.=' x, \"y\" '.=' y]@@ -99,7 +99,7 @@ -- -- import GHC.Generics ----- data Coord { x :: Double, y :: Double } deriving Generic+-- data Coord = Coord { x :: Double, y :: Double } deriving Generic -- -- instance ToJSON Coord -- @@@ -131,7 +131,7 @@ -- -- @{-\# LANGUAGE OverloadedStrings #-} ----- data Coord { x :: Double, y :: Double }+-- data Coord = Coord { x :: Double, y :: Double } -- -- instance FromJSON Coord where -- parseJSON ('Object' v) = Coord '<$>'@@ -169,7 +169,7 @@ -- -- import GHC.Generics ----- data Coord { x :: Double, y :: Double } deriving Generic+-- data Coord = Coord { x :: Double, y :: Double } deriving Generic -- -- instance FromJSON Coord -- @
aeson.cabal view
@@ -1,9 +1,9 @@ name: aeson-version: 0.7.0.1+version: 0.7.0.2 license: BSD3 license-file: LICENSE category: Text, Web, JSON-copyright: (c) 2011, 2012, 2013 Bryan O'Sullivan+copyright: (c) 2011-2014 Bryan O'Sullivan (c) 2011 MailRank, Inc. author: Bryan O'Sullivan <bos@serpentine.com> maintainer: Bryan O'Sullivan <bos@serpentine.com>@@ -122,7 +122,7 @@ syb, template-haskell >= 2.4, time,- unordered-containers >= 0.1.3.0,+ unordered-containers >= 0.2.3.0, vector >= 0.7.1, scientific >= 0.2