Humor/irish joke
From HaskellWiki
< Humor(Difference between revisions)
m (→How to keep an imperative programmer busy for hours) |
|||
| (2 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
| - | + | ==How to keep an imperative programmer busy for hours == | |
| + | |||
| + | tell them 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> | ||
Current revision
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>
