Cheesy, I know but,
Quicksort in three lines of haskell:
~3ish, if you don’t include the type signature.
There’s 3 lines, and then there’s 3 lines. This falls clearly in the 3 lines camp (fuzzy, e.g. “yeah, there’s 3 newlines, but about 15 statements per line”), and while an impressive slinging of bash, has a pretty misleading title.
I think it’s fair to think that. However, my personal constraints were just to keep it under 80 chars per line.