say (1..10 -> reduce('+')); say (1..10 -> reduce{|a,b| a + b});