4 ms·
These are also nice and would like to join in the party :) map *.total, @orders; # perl6 @orders.map: *.total; # perl6 OO map {$_->total}
by draegtun 14y ago
These are also nice and would like to join in the party :)
map *.total, @orders; # perl6
@orders.map: *.total; # perl6 OO
map {$_->total} @orders; # perl5
orders map(total) # Io
map-each n orders [n/total] ; Rebol