Bryan O'Sullivan  committed 308dab0 Merge

Merge pull request #169 from maxpow4h/master

Added data instance to Value

  • Participants
  • Parent commits a09652b, 6c92461
  • Branches default

Comments (0)

Files changed (1)

File Data/Aeson/Types/Internal.hs

 import Control.DeepSeq (NFData(..))
 import Data.Scientific (Scientific)
 import Data.Hashable (Hashable(..))
+import Data.Data (Data)
 import Data.HashMap.Strict (HashMap)
 import Data.Monoid (Monoid(..))
 import Data.String (IsString(..))
            | Number !Scientific
            | Bool !Bool
            | Null
-             deriving (Eq, Show, Typeable)
+             deriving (Eq, Show, Typeable, Data)
 -- | A newtype wrapper for 'UTCTime' that uses the same non-standard
 -- serialization format as Microsoft .NET, whose @System.DateTime@