Re: This seems to be wrong

[email protected] (Timo Paulssen) Mon, 19 Sep 2016 16:09:22 +0200
Newsgroups perl.perl6.language
Message-ID <[email protected]>
On 19/09/16 15:56, Aaron Sherman wrote:> You can also use map, but it's
slightly clunkier: > > "for @inputs.map: .Int -> $i { ... }"
This also needs to have "*.Int" or "{ .Int }" otherwise you'll pass
$_.Int as the argument to map rather than telling map to call .Int on
things.