packages feed

fb 0.9.5.1 → 0.9.6

raw patch · 3 files changed

+12/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Facebook: unPermission :: Permission -> Text

Files

fb.cabal view
@@ -1,5 +1,5 @@ name:              fb-version:           0.9.5.1+version:           0.9.6 license:           BSD3 license-file:      LICENSE author:            Felipe Lessa
src/Facebook.hs view
@@ -61,6 +61,9 @@        -- * Exceptions     , FacebookException(..)++      -- * Internal functions+    , unPermission     ) where  import Facebook.Types
src/Facebook/Auth.hs view
@@ -7,6 +7,7 @@     , extendUserAccessToken     , RedirectUrl     , Permission+    , unPermission     , hasExpired     , isValid     , parseSignedRequest@@ -200,7 +201,13 @@ -- > -- > perms :: [Permission] -- > perms = ["user_about_me", "email", "offline_access"]-newtype Permission = Permission { unPermission :: Text }+newtype Permission =+  Permission {+    unPermission :: Text+    -- ^ Retrieves the 'Text' back from a 'Permission'.  Most of+    -- the time you won't need to use this function, but you may+    -- need it if you're a library author.+  }  instance Show Permission where     show = show . unPermission