3 ms·
For single placeholders I prefer the look of either the `_` syntax or the alternative some PLs have of `.`. But otoh, Raku nicely stretches the approach to bot
by raiph 6y ago
For single placeholders I prefer the look of either the `_` syntax or the alternative some PLs have of `.`.
But otoh, Raku nicely stretches the approach to both zero and multiple placeholders:
* The zero placeholder `.methodname` in Raku is the same as Scala's `_.methodname`
* Any number of placeholders are allowed, so one can write eg `* + *` as an anonymous binary add function.