[swift-evolution] [Pitch] #dup -- a duplication "macro"(?)
Daryle Walker
darylew at mac.com
Sun Aug 6 23:06:06 CDT 2017
> On Aug 3, 2017, at 12:39 AM, Daryle Walker <darylew at mac.com> wrote:
>
> After a few hours, I figured out what was bugging me. Variadic generic parameters, and the existing variadic function parameters, CONSUME arbitrarily long comma-separated lists. The #dup facility PRODUCES those kinds of lists. The features are duals, not the same. The features can synergize.
I just upload a rough proposal at <https://gist.github.com/CTMacUser/44afa75e379ec70201391af3a39bcdeb>.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
More information about the swift-evolution
mailing list