Fix ambiquity due to generalised `elem`

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.
Merge pull request #14 from hvr/pr-base48

Fix ambiquity due to generalised `elem`