Skip to content
Browse files

Added data instance to Value

  • Loading branch information...
1 parent ce36f22 commit cdcafd561567814ae55f38b0f44363ec62863621 @mxswd mxswd committed Dec 1, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 Data/Aeson/Types/Internal.hs
View
3 Data/Aeson/Types/Internal.hs
@@ -45,6 +45,7 @@ import Control.Monad
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(..))
@@ -174,7 +175,7 @@ data Value = Object !Object
| 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@

0 comments on commit cdcafd5

Please sign in to comment.
Something went wrong with that request. Please try again.