Wednesday, December 05, 2007

Guards in Java

Haskell functions have this nice concept called 'guards' which allow you to define a condition and return a value when that conditi...