Humor/irish joke: Difference between revisions
< Humor
No edit summary |
No edit summary |
||
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: | |||
<haskell> | <haskell> | ||
let a=b; b=a in <exp> | |||
let a=b; b=a in | |||
</haskell> | </haskell> |
Revision as of 09:11, 15 December 2006
How to keep an imperative programmer busy for hours
tell him the syntax for swapping two variables in Haskell is:
let a=b; b=a in <exp>