3 lines
64 B
Text
3 lines
64 B
Text
|
|
say (1..10 -> reduce('+'));
|
||
|
|
say (1..10 -> reduce{|a,b| a + b});
|