Maxwell Swadling  committed 6c92461

Added data instance to Value

  • Participants
  • Parent commits b66e8fd

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@