-- Haskell
filter even [1,2,3,4]
filter even [1,2,3,4]
filter even [1..4]
I've found most of the time when you're trying to get incredibly short expressions that aren't obfuscated, haskell wins.
take 2 (filter even [1..]) // take as many as you want
evens = filter even
<http://wiki.hackerdojo.com/w/page/32992961/Haskell-Hackathon...;
Newbies take special note of the Saturday session.
If nothing else, it's great having a compiler that can catch a large amount of errors without getting bogged down in the type boilerplate that many other static languages require.
Implicit static typing is definitely something I miss when working in other languages.