packages feed

json2 0.2.3 → 0.3

raw patch · 2 files changed

+6/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.JSON2: instance [incoherent] Ord Json
+ Data.JSON2: instance [incoherent] Typeable Json

Files

Data/JSON2.hs view
@@ -1,4 +1,6 @@-{-# Language TypeSynonymInstances, FlexibleInstances, IncoherentInstances #-}+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, IncoherentInstances #-}+{-# LANGUAGE DeriveDataTypeable #-}+ module Data.JSON2   (    -- * Data types and classes@@ -18,6 +20,7 @@ import Data.List import qualified Data.Map as Map import Data.Ratio+import Data.Typeable (Typeable)  infixr 6 ==> @@ -28,7 +31,7 @@ 	  | JBool Bool 	  | JNull 	  | JArray [Json]-	  | JObject (Map.Map String Json) deriving (Eq, Show, Read)+	  | JObject (Map.Map String Json) deriving (Eq, Ord, Typeable, Show, Read)  type Jsons = [Json] 
json2.cabal view
@@ -1,5 +1,5 @@ Name:                json2-Version:             0.2.3+Version:             0.3 Synopsis:            This library provides support for JSON.  Category:            Data, Text, JSON Description:         This library provides support for JSON.