Skip Menu |
 

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 108888
Status: resolved
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: PERLANCAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.423



Subject: wishlist: The opposite of singleton() (returns duplicates)
See subject.
Download (untitled) / with headers
text/plain 191b
On Fri Nov 13 04:55:29 2015, PERLANCAR wrote: Show quoted text
> See subject.
Additional note: this can be used for "set intersection" operation. Some would appreciate the fast XS version for this operation.
Please be more specific (eg. how do you define opposite having unique in mind)
Download (untitled) / with headers
text/plain 277b
On Fri Nov 13 04:59:59 2015, REHSACK wrote: Show quoted text
> Please be more specific (eg. how do you define opposite having unique > in mind)
my @set1 = (1,2,3,4,5,6); my @set2 = ( 2,3,4,5,6,7); singleton(@set1, @set2); # => (1,7) dupes(@set1, @set2); # => (2,3,4,5,6)
That's sane - will happily add that.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.