Difference between revisions of "Humor/irish joke"

From HaskellWiki
Jump to navigation Jump to search
Line 1: Line 1:
  +
==How to keep an imperative programmer busy for hours ==
  +
 
give him the example for swapping two variables in Haskell of:
 
give him the example for swapping two variables in Haskell of:
   

Revision as of 09:06, 15 December 2006

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)