Introduce a :*@foo
slurpy named argument syntax
#452
Labels
language
Changes to the Raku Programming Language
:*@foo
slurpy named argument syntax
#452
Inspired by rakudo/rakudo#2797
This would allow:
to just work like:
The syntax is currently a compilation error:
Disadvantages: apart from the grammar work, this would also need quite a bit of work in the binder. And the user would need to know to specify
:*@foo
instead of:@foo
.Advantages: would be generally useful, and would allow the "adapt the Capture hack" in MAIN handling to be removed.
The text was updated successfully, but these errors were encountered: