Thanks for the tip. I tend to think in Scheme and lambdas were my first thought.