News for hackers. Stuff that matters.
Re:Haskell One Liners to Impress Your Friends by thesz on Saturday June 04, 2011 @06:09AM (#2619266)
>any (flip isInfixOf tweet) wordlist

Even shorter: any (`isInfixOf`tweet) wordlist

Partial application of infix operators automatically adds flip if needed.

There are no comments on this comment yet.