Useful Haskell one-liners

Hmm. I suppose I can’t, so that’s a rather dull one. The other way around

sortByLengthThenLexically = sortBy (comparing length <> compare)

actually does something.