Difference between revisions of "Koans"

From HaskellWiki
Jump to: navigation, search
(begin fmt)
Line 1: Line 1:
See [[Haikus]] for similar humor.
Line 24: Line 22:
A good programmer can write FORTRAN in any language; a great one could write Haskell.
<blockquote>"A good programmer can write FORTRAN in any language; a great one could write Haskell."</blockquote>
==See also==
*[[Haskell haikus]]
<!-- [[Category:Humor]] -->

Revision as of 20:51, 1 January 2009

https://secure.wikimedia.org/wikipedia/en/wiki/Hacker_koan#Master_Foo http://www.reddit.com/r/programming/comments/6tytl/functional_programming_koans/ http://www.reddit.com/r/programming/comments/6twbn/the_koan_of_lazy_evaluation/ http://web.archive.org/web/20041012103936/http%3a//www.bagley.org/~doug/ocaml/Notes/okoans.shtml http://www.reddit.com/r/programming/comments/6tytl/functional_programming_koans/c04uzsl http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/msg03277.html


<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 mater wadler, what is the nature of a recursive type? Wadler replies: Mu.


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

See also