Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@mtoohey31 mtoohey31 released this 05 Sep 20:17
· 20 commits to main since this release

Breaking Changes

  • A few changes have been made in order to avoid the need for runtime checks and explicit panics:
    • Take's n parameter is now of type uint instead of int to enforce that it must be non-negative
    • StepBy ~> Skipping: Skipping(uint(m)) is equivalent to StepBy(m+1), except that no runtime check is required since n must be positive so there is no risk of a panic
    • Windows ~> Seqs: Seqs(unit(m)) is also equivalent to Windows(m+1), but again, there's no longer a runtime check and a risk of panicking
  • Position ~> Pos: the Position function has been converted to a method with a shorter name
  • Removed Endo suffixes: these were unnecessary since having methods and functions with the same name doesn't cause issues
  • KVZip -> KVZipStrict, KVZipChannelled -> KVZipLazy: this was done to better explain the significance of these two variants, and the godocs were also updated