Closed hvr closed 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.
Foldable
-XOverloadedStrings
\c -> elem c "abc"
(cherry picked from commit 8728dc0651506b6d9f1d92635439bcc9aa5e4a71)
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)