Oops.
Interesting, also, that the XS version does short-circuit. I looked at the source and thought I could see that, but I don't know XS so to be sure, I tested. And lo:
$ perl -MList::Util=first -le'@_=(0)x100; first { ++$a; $_ == 0 } @_; +print $a' 1
Hmm.
Makeshifts last the longest.
In reply to Re^13: Specializing Functions with Currying
by Aristotle
in thread Specializing Functions with Currying
by FoxtrotUniform
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |