Working on reductions with lambdas for operators. Includes test cases for #103.