on master help sign in
Added data instance to Value
commit6813811215d450c80a02dab16f2c16459acbce9f authorMaxwell Swadling <maxwellswadling@gmail.com> dateSun 1 Dec 2013, 22:14 (13 years ago) parent1a2a0db
1 file changed+2−1
Data/Aeson/Types/Internal.hs+2−1
Data/Aeson/Types/Internal.hs+2−1
@@ -45,6 +45,7 @@ import Control.Monad
4545import Control.DeepSeq (NFData(..))
4646import Data.Scientific (Scientific)
4747import Data.Hashable (Hashable(..))
48+import Data.Data (Data)
4849import Data.HashMap.Strict (HashMap)
4950import Data.Monoid (Monoid(..))
5051import Data.String (IsString(..))
@@ -174,7 +175,7 @@ data Value = Object !Object
174175 | Number !Scientific
175176 | Bool !Bool
176177 | Null
177− deriving (Eq, Show, Typeable)
178+ deriving (Eq, Show, Typeable, Data)
178179
179180-- | A newtype wrapper for 'UTCTime' that uses the same non-standard
180181-- serialization format as Microsoft .NET, whose @System.DateTime@