fb 0.13.2 → 0.13.3
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- fb.cabal +1/−1
- src/Facebook/Types.hs +2/−1
fb.cabal view
@@ -1,5 +1,5 @@ name: fb-version: 0.13.2+version: 0.13.3 license: BSD3 license-file: LICENSE author: Felipe Lessa
src/Facebook/Types.hs view
@@ -23,6 +23,7 @@ import Data.ByteString (ByteString) import Data.Int (Int64) import Data.Monoid (Monoid, mappend)+import Data.String (IsString) import Data.Text (Text) import Data.Time (UTCTime, parseTime) import Data.Typeable (Typeable, Typeable1)@@ -94,7 +95,7 @@ -- | The identification code of an object. newtype Id = Id { idCode :: Text }- deriving (Eq, Ord, Show, Read, Typeable)+ deriving (Eq, Ord, Show, Read, Typeable, IsString) instance A.FromJSON Id where parseJSON (A.Object v) = v A..: "id"