# set-partitions [![crate](https://img.shields.io/crates/v/set-partitions.svg)](https://crates.io/crates/set-partitions) [![documentation](https://docs.rs/set-partitions/badge.svg)](https://docs.rs/set-partitions) **set-partitions is crate that allows to represent and enumerate [partitions of a set][https://en.wikipedia.org/wiki/Partition_of_a_set]** Partitions are represented as slices containing restricted growth sequences, enumerated in lexicographic order, using the algorithm from [The Art of Computer Programming Fascicle 3b, page 27, by Donald Knuth][http://www-cs-faculty.stanford.edu/~uno/fasc3b.ps.gz].