View Source AoC.Permutations (aoc v0.11.5)
A helper module to generate permutations from a list of items.
Each permutation will contain all the elements of the list, in a different and unique order.
Summary
Functions
Returns a stream of permutations. This allows to generate a large amount of permutations without using too much memory.
The function accepts either a list or a range. Other enums must be converted to list manually before calling this function.