packages feed

hs-twitter 0.2.6 → 0.2.7

raw patch · 2 files changed

+3/−3 lines, 2 filesdep ~json

Dependency ranges changed: json

Files

Web/Twitter/Types/Import.hs view
@@ -199,7 +199,7 @@     showJSON u = showJSON (userID u)
     readJSON m = 
        case m of
-	 JSRational v -> return (UserID (show ((round v) :: Integer)))
+	 JSRational _ v -> return (UserID (show ((round v) :: Integer)))
 	 _ -> return (UserID (showJSValue m ""))
 
     readJSONs (JSObject (JSONObject (("ids", JSArray xs):_))) = do
hs-twitter.cabal view
@@ -1,5 +1,5 @@ name: hs-twitter
-version: 0.2.6
+version: 0.2.7
 synopsis: Haskell binding to the Twitter API
 description:
    The hs-twitter API binding lets you access twitter.com's
@@ -29,4 +29,4 @@                   Web.Codec.URLEncoder,
                   Web.Codec.Percent
  Ghc-Options:     -Wall
- build-depends:   base, HTTP >= 4000.0.1, network, utf8-string, json, mime, old-locale, old-time, random
+ build-depends:   base, HTTP >= 4000.0.1, network, utf8-string, json >= 0.4, mime, old-locale, old-time, random