Humor/irish joke

From HaskellWiki
< Humor
Revision as of 09:06, 15 December 2006 by Xnito (talk | contribs)
Jump to navigation Jump to search

How to keep an imperative programmer busy for hours

give him the example for swapping two variables in Haskell of:

 a = 4
 b = 3
 let a=b; b=a in print (b-a)