Peter Anning

Results 2 issues of Peter Anning

``` val evenOrOdd = i match { case 1 | 3 | 5 | 7 | 9 => println("odd") case 2 | 4 | 6 | 8 | 10 =>...

This is an example of pass-by-name and you don't cover this until page 255(p239) I worked it out eventually when I got there it suddenly made sense.