aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Set-Partition/pkg-descr
blob: 7229e57c57e4871ca17f7ae642d9be71fb94b239 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Set::Partition takes a list or hash of elements and a list numbers that 
represent the sizes of the partitions into which the list of elements 
should be arranged.

The resulting object can then be used as an iterator which returns a 
reference to an array of lists, that represents the original list arranged 
according to the given partitioning. All possible arrangements are 
returned, and the object returns undef when the entire combination space 
has been exhausted.

Author: David Landgren (http://www.landgren.net/perl/)
WWW: http://search.cpan.org/dist/Set-Partition/