Perl 6 Cool Perl 6 #61

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 == 6
continued...
Copyright © 2010
http://www.pmichaud.com/2010/pres/