News for hackers. Stuff that matters.
Re:Why Would Anyone Use Perl 6? by bhaak on Wednesday January 13, 2016 @10:10AM (#10894816)
The third seems to be shorthand for map and reduce (or only reduce).

In Ruby, you could express the same with `[2,4,6].reduce(true) {|even,num| even & num.even? }` or more clearer IMO `[2,4,6].map(&:even?).reduce(&:&)`.

There are no comments on this comment yet.