All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.4.0 (2024-10-03)
- API: function
Reduce
(renamed fromFoldl
)
- API (breaking change): The second argument of functions
At
,Drop
,Repeat
, andTake
no longer needs be anint
; for more flexibility, it can now be any value whose type is constrained bygolang.org/x/exp/constraints.Integer
. - Documentation: minor fixes
- API (breaking change): function
Foldl
- API (breaking change): function
AllErrors
0.3.0 (2024-09-21)
- API: function
Flatten
(renamed fromConcat
) - API: function
Between
- API: function
Enumerate
- API: functions
Equal
,EqualFunc
- API: functions
Compare
,CompareFunc
,IsSorted
, andIsSortedFunc
- API: functions
Min
,MinFunc
,Max
, andMaxFunc
- API: functions
SortedFromMap
andSortedFuncFromMap
- API (breaking change): the type parameter in function
ContainsFunc
is now (correctly) unconstrained. - API (breaking change):
Concat
previously took an iterator over iterators; it now takes a slice of iterators. - Behavior: functions
Take
andDrop
now tolerate a negativecount
argument. - Documentation: sinks that may not terminate are now documented as such.
- Documentation: various other improvements
- API (breaking change): function
AllLeafErrors
- API (breaking change): function
Append
- API (breaking change): function
FlatMap
- API (breaking change): functions
Cons
,Head
,Tail
, andUncons
0.2.0 (2024-09-16)
- Tests: augment test suite to reach 100% code coverage.
- API (breaking changes): function
Repeat
now has ancount
parameter that specifies the number of repetitions of the desired value in the resulting iterator; ifcount
is negative, the resulting iterator is infinite. - Behavior (breaking change): function
At
now panics if itscount
argument is negative. - Behavior (breaking change): function
Drop
now panics if itscount
argument is negative. - Behavior (breaking change): function
Take
now panics if itscount
argument is negative. - Documentation: various improvements
- Tests: improve examples
- API (breaking change): function
Replicate