say (1..10 -> reduce('+')) say (1..10 -> reduce{|a,b| a + b})
Last updated 2 years ago
Was this helpful?