Re:Learn a Programming Language Faster by Copying Unix
by 4ad on Saturday November 03, 2012 @04:10PM
(#4737745)
This only works if you are a top-down thinker. Many people are bottom-up thinkers.
Re:Learn a Programming Language Faster by Copying Unix
by anothermachine on Sunday November 04, 2012 @03:25PM
(#4740902)
Explain?
With "do" and the coincidental naming of "return", and IORefs if you insist, you can write imperative bottom-up code in Haskell.
In fact, Bryan O'Sullivan (who wrote Real World Haskell) just held a tutorial session on Haskell a couple of weeks ago where people completely new to the language implemented simple Unix tools like "wc". I don't think monads were mentioned at all.