I am looking for the reverse of this essentially, and am going out of my mind.
Something that reverses the arguments of the below to check of any element of a list is in a string.
Instead of:
any (isInfixOf "Hask") ["I am", "new to", "Haskell"]
I need:
any (isInfixOf ["I am", "new to", "Haskell"]) "I am new to"
Any help appreciated!