Reduction operators (pairwise infix)
Infix operators can be surrounded by brackets to turn them into a "reducing" list operators:
[+] 1, 2, 3 # 1 + 2 + 3 == 6continued...
Open Source Projects |
Rakudo Perl 6 Confessions of an open source project leader |
#96 |
Infix operators can be surrounded by brackets to turn them into a "reducing" list operators:
[+] 1, 2, 3 # 1 + 2 + 3 == 6continued...
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |