4 ms·
Is there a tutorial on learning simple one liners like this? I find myself frustrated after seeing simple and obvious solutions like the above, but can never br
by bryanh 16y ago
Is there a tutorial on learning simple one liners like this? I find myself frustrated after seeing simple and obvious solutions like the above, but can never bring myself to code them as such.
- steveklabnik 16y agohttp://learnyouahaskell.com http://learnyouahaskell.com I'm only half kidding. The best way to get used to using functional concepts is to actually use them in their native setting, and then apply (giggle) them elsewhere. When you _have_ to solve problems this way, at some point, it clicks.
- mcbain 16y agoI did something similar to learn a bit of Haskell (to knock the rust off my C geared brain) by picking through a bunch of the problems in http://www.haskell.org/haskellwiki/H-99:_Ninety-Nine_Haskell_Problems http://www.haskell.org/haskellwiki/H-99:_Ninety-Nine_Haskell... I can say that it has indeed improved my Python scripting as well.