factored unused alternative definitions of partitions out from Partitions into PartitionsAlternative