aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Set-Partition/pkg-descr
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-06 00:40:10 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-06 00:40:10 +0000
commit2ca026de42965661902a304af1b9bdac457b2177 (patch)
tree729711f87576ce04f75267df5aa8be81feeaaf64 /math/p5-Set-Partition/pkg-descr
parent86a03ac7939020bf8cffb50dcd47aa4f5f02cc91 (diff)
downloadports-2ca026de42965661902a304af1b9bdac457b2177.tar.gz
ports-2ca026de42965661902a304af1b9bdac457b2177.zip
Adding port math/p5-Set-Partition, Enumerate all arrangements of a set in
fixed subsets. Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=164542
Diffstat (limited to 'math/p5-Set-Partition/pkg-descr')
-rw-r--r--math/p5-Set-Partition/pkg-descr12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/p5-Set-Partition/pkg-descr b/math/p5-Set-Partition/pkg-descr
new file mode 100644
index 000000000000..5fa8e1f69f74
--- /dev/null
+++ b/math/p5-Set-Partition/pkg-descr
@@ -0,0 +1,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.
+
+WWW: http://search.cpan.org/dist/Set-Partition
+Author: David Landgren (http://www.landgren.net/perl/)