Personal tools

Humor/irish joke

From HaskellWiki

< Humor(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
Tell him the an example for swapping two variables in Haskell is:
+
give him the example for swapping two variables in Haskell of:
   
 
<haskell>
 
<haskell>

Revision as of 09:04, 15 December 2006

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

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