Difference between revisions of "Humor/irish joke"
< Humor
Jump to navigation
Jump to search
Tomjaguarpaw (talk | contribs) (Remove old, not very useful page) |
m (Reverted edits by Tomjaguarpaw (talk) to last revision by Android) |
||
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> |
||
+ | let a=b; b=a in <exp> |
||
+ | </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>