Skip to content

Stream and AsyncStream made generics to save the typing

Compare
Choose a tag to compare
@Smoren Smoren released this 25 Jan 20:24
· 22 commits to master since this release

Improvements

  • Stream and AsyncStream are fully refactored
    • Classes made generic.
    • All the methods made generic and save the typing.
  • reduce
    • toValue(), toValueAsync() — union return type has been replaced by inferred type.
    • toRange(), toRangeAsync() — use Numeric type in arguments.
  • multi
    • Type ZipTuple — added support for iterators and async iterables / iterators.
  • math
    • All the methods use Numeric type in arguments.
  • All the tests are refactored to check the typing.
  • Found bugs fixed.

New features

  • types
    • Numeric
    • NumericString