Hello,
While playing around in an attempt to define new operators, I stumbled upon
some curious results.
In the REPL, trying `say :_` returns a blank line.
In the REPL, trying `say :_:` returns `_ => True`.
What is the meaning of this?
admin@mbp ~ % raku
Welcome to Rakudo™ v2023.05.
Impleme
Hi Bill,
:_ is a Pair with the colon syntax that stands for "_" => True. In the first
case, it got passed as a named argument and say ignored it. The second case was
a method call using the colon syntax - the syntax lizmat challenged not so long
ago. https://github.com/Raku/problem-solving/iss