Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 2.94 KB

CHANGELOG.md

File metadata and controls

88 lines (63 loc) · 2.94 KB

Changelog

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)

Added

  • API: function Reduce (renamed from Foldl)

Changed

  • API (breaking change): The second argument of functions At, Drop, Repeat, and Take no longer needs be an int; for more flexibility, it can now be any value whose type is constrained by golang.org/x/exp/constraints.Integer.
  • Documentation: minor fixes

Removed

  • API (breaking change): function Foldl
  • API (breaking change): function AllErrors

0.3.0 (2024-09-21)

Added

  • API: function Flatten (renamed from Concat)
  • API: function Between
  • API: function Enumerate
  • API: functions Equal, EqualFunc
  • API: functions Compare, CompareFunc, IsSorted, and IsSortedFunc
  • API: functions Min, MinFunc, Max, and MaxFunc
  • API: functions SortedFromMap and SortedFuncFromMap

Changed

  • 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 and Drop now tolerate a negative count argument.
  • Documentation: sinks that may not terminate are now documented as such.
  • Documentation: various other improvements

Removed

  • API (breaking change): function AllLeafErrors
  • API (breaking change): function Append
  • API (breaking change): function FlatMap
  • API (breaking change): functions Cons, Head, Tail, and Uncons

0.2.0 (2024-09-16)

Added

  • Tests: augment test suite to reach 100% code coverage.

Changed

  • API (breaking changes): function Repeat now has an count parameter that specifies the number of repetitions of the desired value in the resulting iterator; if count is negative, the resulting iterator is infinite.
  • Behavior (breaking change): function At now panics if its count argument is negative.
  • Behavior (breaking change): function Drop now panics if its count argument is negative.
  • Behavior (breaking change): function Take now panics if its count argument is negative.
  • Documentation: various improvements
  • Tests: improve examples

Removed

  • API (breaking change): function Replicate

0.1.0 (2024-09-14)