3 ms·
The author explained it quite well, I'd say. @strings».match(/.+/, :ex)».Str This is actually quite straightforward after being referred as the vector method
by redka 7y ago
The author explained it quite well, I'd say.
@strings».match(/.+/, :ex)».Str
This is actually quite straightforward after being referred as the vector method call (basically map) and the other stuff is just function/operator calls apart from maybe the :by{.chars} which I can assume what it's doing but only after seeing the implementation I can see that it's something like a named parameter with a lambda
Reading these articles by Damian I almost get jealous of how expressive Perl 6 is.
- kerkeslager 7y ago> This is actually quite straightforward after being referred as the vector method call (basically map) and the other stuff is just function/operator calls apart from maybe the :by{.chars} which I can assume what it's doing but only after seeing the implementation I can see that it's something like a named parameter with a lambda This doesn't remotely explain what that line of code is doing.