Releases: Smoren/itertools-ts
Releases · Smoren/itertools-ts
Package Size Optimization
set.cartesianProduct() added
New features
- set
cartesianProduct()
cartesianProductAsync()
- Stream
cartesianProductWith()
- AsyncStream
cartesianProductWith()
infinite.cycle() added
New features
- infinite
cycle()
cycleAsync()
- Stream
ofCycle()
- AsyncStream
ofCycle()
infinite.repeat() added
New features
- infinite
repeat()
- Stream
ofRepeat()
- AsyncStream
ofRepeat()
New namespace infinite
New features
- summary
toRange()
toRangeAsync()
- infinite
count()
- Stream
toRange()
ofCount()
- AsyncStream
toRange()
ofCount()
Summary namespace extended with exactlyN function
New features
- summary
exactlyN()
exactlyNAsync()
- Stream
exactlyN()
- AsyncStream
exactlyN()
Math namespace extended with runningAverage function
New features
- math
runningAverage()
runningAverageAsync()
- Stream
runningAverage()
- AsyncStream
runningAverage()
Function `set.distinct()` improved with optional comparable getter param
Improvements
- set
distinct()
supports optional comparable getter param.
New functions for math namespace
New features
- Math
runningDifference()
runningDifferenceAsync()
runningMax()
runningMin()
runningMinAsync()
runningMaxAsync()
runningProduct()
runningProductAsync()
- Stream
runningDifference()
runningMax()
runningMin()
runningProduct()
- AsyncStream
runningDifference()
runningMax()
runningMin()
runningProduct()
Peek methods added
New features
- Single
sort()
sortAsync()
- Stream
peek()
peekStream()
sort()
- AsyncStream
peek()
peekStream()
sort()
- types
Comparator