freebsd-ports/devel/p5-Algorithm-ChooseSubsets/pkg-descr
Florent Thoumie 9a82373563 - Add p5-Algorithm-ChooseSubsets 0.01, Perl algorithm to iterate through subsets of a list.
PR:		ports/78422
Submitted by:	Lars Eggert <lars.eggert@gmx.net>
Approved by:	pav (mentor)
2005-03-11 14:49:35 +00:00

12 lines
450 B
Text

Perl algorithm to iterate through subsets of a list.
"Subsets" in this context refers to lists with elements taken
from the original list, and in the same order as the elements in the
original list. After creating the object, subsequent calls to next()
will return the next such list in lexicographic order (where the alphabet
is the original list).
WWW: http://search.cpan.org/~bduggan/Algorithm-ChooseSubsets/
- Brian Duggan
bduggan@matatu.org