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.
- This seems to be wrong Parrot Raiser
- Re: This seems to be wrong Brandon Allbery
- Re: This seems to be wrong Trey Harris
- Re: This seems to be wrong Brandon Allbery
- Re: This seems to be wrong Brandon Allbery
- Re: This seems to be wrong Trey Harris
- Re: This seems to be wrong Brandon Allbery
- Re: This seems to be wrong Trey Harris
- Re: This seems to be wrong Brandon Allbery
- Re: This seems to be wrong Aaron Sherman
- Re: This seems to be wrong Timo Paulssen