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 ==
 
==How to keep an imperative programmer busy for hours ==
   
tell him the syntax for swapping two variables in Haskell is:
+
tell them the syntax for swapping two variables in Haskell is:
   
 
<haskell>
 
<haskell>

Revision as of 19:33, 20 October 2012

How to keep an imperative programmer busy for hours

tell them the syntax for swapping two variables in Haskell is:

 let a=b; b=a in <exp>