Personal tools

Koans

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (#haskell: sp)
m (#haskell: ln)
Line 1: Line 1:
 
==#haskell==
 
==#haskell==
 
<pre><gwern> 'Once, a programmer came to sclv, saying I wish to learn the ways of Haskell.
 
<pre><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?'
+
How long would it take me, assiduously studying [[RWH]]?'
 
<gwern> 'sclv replied sagely, surely you could learn in 3 months.
 
<gwern> 'sclv replied sagely, surely you could learn in 3 months.
 
The programmer replied, three months is too long!
 
The programmer replied, three months is too long!

Revision as of 20:56, 1 January 2009

Contents

1 #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!'
20:24:49 <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.

2 Unattributed

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

3 See also

4 External links