Kata #3: use lambdas as case conditions