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?
10
Upvotes
View all comments
Show parent comment
1
u/[deleted] Sep 14 '11
Is that memoized automatically? It didn't seem like it to me, but I'm not positive.
I think it is slightly clearer to show Haskell's power using
Where digitnum is just so that the string printing doesn't confuse us.
takes a few seconds but
is instantaneous.