Skip to content

Releases: keep94/itertools

v0.6.0

26 Apr 04:37
Compare
Choose a tag to compare

Breaking Changes

  • Swap parameter order in Map, Filter, Take, and TakeWhile to be more consistent with Python and Haskell.

v0.5.0

24 Apr 12:34
Compare
Choose a tag to compare

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

15 Apr 02:06
Compare
Choose a tag to compare

Breaking Changes

  • Flatten function renamed to Chain to be more consistent with the python itertools library

v0.3.0

21 Feb 03:20
Compare
Choose a tag to compare

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

12 Feb 16:04
Compare
Choose a tag to compare

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

28 Jan 03:16
Compare
Choose a tag to compare

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.

v0.1.0

26 Jan 01:40
Compare
Choose a tag to compare

Initial Release