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...
Perl 6 | Cool Perl 6 | #65 |
Infix operators can be surrounded by brackets to turn them into a "reducing" list operators:
[+] 1, 2, 3 # 1 + 2 + 3 == 6continued...
Copyright © 2010 http://www.pmichaud.com/2010/pres/ |