2 ms·
Perl 6: @a «+» @b; And, for the three (or more arrays, you just keep going) case: @a «+» @b «+» @c; These are called "hyper-operators": https://perl6advent.
by SwellJoe 11y ago
Perl 6:
@a «+» @b;
And, for the three (or more arrays, you just keep going) case:
@a «+» @b «+» @c;
These are called "hyper-operators": https://perl6advent.wordpress.com/2009/12/06/day-6-going-into-hyperspace/ https://perl6advent.wordpress.com/2009/12/06/day-6-going-int...