A set-partition of a List is a partitioning of the list into a finite number of non-empty disjoint pieces whose union is the original list.
|
The set-partitions of $n$ is the collection of set-partitions of the set $\{1,\ldots,n\}$.
|
The object setPartition is a method function.