r/programmingchallenges • u/okmkz • Sep 10 '11
Challenge: Hello, world!
I'm kind of interested in running xmonad and learning Haskell. Should we all tackle learning about a new programming paradigm?
9
Upvotes
View all comments
Show parent comment
1
u/dmwit Sep 10 '11
Yep, it's very unintuitive. Nobody would write the function this way the first time -- this was mostly a cute demonstration of very, very short code. If you weren't going for very short code, I would expect something like this instead: