Difference between revisions of "Koans"

From HaskellWiki
Jump to navigation Jump to search
(→‎#haskell: switch to blockquotes)
(→‎#haskell: +one from reddit)
Line 13: Line 13:
   
 
<blockquote><sclv> A student asks master wadler, what is the nature of a recursive type? Wadler replies: Mu.</blockquote> <!-- http://www.cse.unsw.edu.au/~dons/irc/haskell/08.05.22 -->
 
<blockquote><sclv> A student asks master wadler, what is the nature of a recursive type? Wadler replies: Mu.</blockquote> <!-- http://www.cse.unsw.edu.au/~dons/irc/haskell/08.05.22 -->
  +
  +
<blockquote>"gwern> a young novice spoke to #haskell, asking to be taught about the ways of the Maybe monad.<br>
  +
'What have you brought me to see?' asked the #haskeller.<br>
  +
'Nothing', replied the noob.<br>
  +
'Then take it away!'"[http://www.reddit.com/r/programming/comments/6tytl/functional_programming_koans/c04uzsl]</blockquote>
   
 
==Unattributed==
 
==Unattributed==

Revision as of 21:04, 1 January 2009

#haskell

<gwern> 'Once, a programmer came to sclv, saying I wish to learn the ways of Haskell.

How long would it take me, assiduously studying RWH?'
<gwern> 'sclv replied sagely, surely you could learn in 3 months.
The programmer replied, three months is too long!
What if I carefully recollect everything I know of my Java experience and study my computer science?'
<gwern> 'sclv thought, and told him, in that case, it will be no less than 4 months.
The programmer despaired, and said, no!
What if I study Knuth ferociously, and every minute of the day hack on C and Java and rewrite my programs in haskell?
Surely I will learn Haskell much quicker than 4 months!'
<gwern> 'sclv said, alas, in that case you will never learn Haskell.

If you wish to learn Haskell, empty your mind of all knowledge, and then you will be enlightened within the month.'

<sclv> A student asks master wadler, what is the nature of a recursive type? Wadler replies: Mu.

"gwern> a young novice spoke to #haskell, asking to be taught about the ways of the Maybe monad.

'What have you brought me to see?' asked the #haskeller.
'Nothing', replied the noob.

'Then take it away!'"[1]

Unattributed

"A good programmer can write FORTRAN in any language; a great one could write Haskell."

See also

External links