golo-lang/golo-lang — pull request #98 by danielpetisme (2013-11-16 14:58:50+00:00)
Title: Spread operator

Spread a method call on all items of an iterable object.

```
let shouted = ["Golo", "is", "cool"]*: toUpperCase()
# equivalent to
["Golo", "is", "cool"]: map(|it| -> it: toUpperCase())

require(shouted oftype gololang.Tuple.class, "A spread invocation returns a tuple")
require(shouted == ["GOLO", "IS", "COOL"], "Spread invocation == aggregation of each child call")

```