Difference between revisions of "Humor/irish joke"

From HaskellWiki
Jump to navigation Jump to search
m (Reverted edits by Tomjaguarpaw (talk) to last revision by Android)
 
(2 intermediate revisions by 2 users not shown)
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>

Latest revision as of 15:19, 6 February 2021

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>