Personal tools

Humor/irish joke

From HaskellWiki

< Humor
Revision as of 09:02, 15 December 2006 by Xnito (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tell him the an example for swapping two variables in Haskell is:

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