Releases: keep94/itertools
Releases · keep94/itertools
v0.6.0
Breaking Changes
- Swap parameter order in Map, Filter, Take, and TakeWhile to be more consistent with Python and Haskell.
v0.5.0
Breaking Changes
- Cycle takes a iter.Seq to be consistent with python
New Features
- CycleValues works like Cycle, but takes raw values instead of an iter.Seq.
Code cleanup
- Make parameter naming more consistent
v0.4.0
Breaking Changes
- Flatten function renamed to Chain to be more consistent with the python itertools library
v0.3.0
New Features
- Take() function to return first n elements
- TakeWhile() function to return first elements that pass a filter
Code Cleanup
- Simplify code in Cycle() and Filter()
v0.2.0
New Features
- Count() function that works similar to itertools.count() in python
- Enumerate() function that works similar to enumerate in python
Bug Fixes
- Cycle() to return empty sequence instead of panicing when given no args.
Documentation
- Clean up documentation for Flatten().
v0.1.1
Enhancements
- Rewrite Zip to use iter.Pull. This change got rid of 53 lines of code. Special thanks to @s-l-teichmann for the suggestion.