Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #169 from maxpow4h/master

Added data instance to Value
  • Loading branch information...
commit 38ebb571cfc85ce1a4486defc4afe8060acf6bb2 2 parents 4b3b5d8 + cdcafd5
@bos authored
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@
Please sign in to comment.
Something went wrong with that request. Please try again.