old-design-docs icon indicating copy to clipboard operation
old-design-docs copied to clipboard

Multiple same-named arguments

Open AlexDaniel opened this issue 9 years ago • 0 comments

From S06:

Perl 6 allows multiple same-named arguments, and records the relative order of arguments with the same name. When there are more than one argument, the @ sigil in the parameter list causes the arguments to be concatenated:

This does not work right now.

Some comments from @jnthn:

jnthn: fwiw, I'd be surprised if that was ever implemented. jnthn: It's likely incompatible with multi-dispatch for one. jnthn: Should probably get tossed from the design docs, anyway.

AlexDaniel avatar Apr 16 '16 18:04 AlexDaniel