Each partition is a basic list of type Partition.
i1 : partitions(4,2) o1 = {Partition{2, 2}, Partition{2, 1, 1}, Partition{1, 1, 1, 1}} o1 : List