Re:Go enjoy Python3
by edofic on Thursday August 27, 2015 @11:59AM
(#10130191)
A mandatory smart-ass Haskell response
[ Parent
| on HN ]
Now with more operators!
import System.Environment (getArgs)
main = putStrLn =<< take 12 . head <$> getArgs
;-)The actual smart-ass haskell response is simply "take 12". The spec didn't specify this needed to be a impure shell command, so a pure function is obviously better.
Well, for smart-ass (and I know you meant it as a joke) is not very impressive. Don't do anything more than the others, and the syntax is not so great either.