Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
I know it's on the CPAN, I just can't find it yet. I want a module which does something like this:
use Number::Properties ':all';
my @odds = grep { odd $_ } @num_list;
my @evens = grep { even $_ } @num_list;
my @primes = grep { prime $_ } @num_list;
my @negatives = grep { negative...
You get the idea.
Is it out there?
Not that I know of (Score:1)
I'm of aware of something exactly like that, although I've hacked stuff similar to it over, e.g., Math::Prime::TiedArray [cpan.org] when playing at Project Euler [projecteuler.net]. In fact, gathering all those is_(prime|abundant|fibonacci|*) functions under a Number::Class (still trying to find a better name for it) module is something I want to do when I'll have truckloads of round tuits to spend (ah!).
Hm. (Score:1)
rjbs
Re: (Score:2)
That's beautiful :)