path: root/lib/iter
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-14Fix serializing trait specs in usefiles.Ori Bernstein
2018-01-08let bychunk() read the last element; guard for negative szS. Gilles
I mentioned on IRC that bychunk() was skipping the last element of a slice, here's a fix for that, as well as some redundant tests and some probably unneeded input validation. I don't have any strong feelings about protecting someone from shooting themselves in the foot with bychunk([1][:], -100), but it's easier to remove in review than to add later.
2018-01-02Improve comments.Ori Bernstein
2018-01-02add permutation iteratorS. Gilles
A good exposition of this algorithm is at
2018-01-02test byenum from iter, not stdS. Gilles
2018-01-02Update bootstrap code.Ori Bernstein
2017-12-30Clean up some more dead code.Ori Bernstein
2017-12-30Start cleaning up libstd.Ori Bernstein
minor formatting, factoring out iterutil.