aesiniath / http-streams

Haskell HTTP client library for use with io-streams
https://hackage.haskell.org/package/http-streams
BSD 3-Clause "New" or "Revised" License
50 stars 48 forks source link

Fix ambiquity due to generalised `elem` #79

Closed hvr closed 9 years ago

hvr commented 9 years ago

In base-4.8, elem has been generalised to Foldable, so in combination with -XOverloadedStrings, something like \c -> elem c "abc" can't be type-inferred anymore.

(cherry picked from commit 8728dc0651506b6d9f1d92635439bcc9aa5e4a71)