summaryrefslogtreecommitdiff
path: root/lib/iter/perm.myr
AgeCommit message (Collapse)Author
2018-01-15Fix iter.byperm when there are duplicates.Quentin Carbonneaux
Eh, I'm trying to get back in business. Cheers.
2018-01-02Improve comments.Ori Bernstein
2018-01-02add permutation iteratorS. Gilles
A good exposition of this algorithm is at https://www.nayuki.io/page/next-lexicographical-permutation-algorithm