sequtils2

Additional functions for sequences that are not present in sequtils

Readme

sequtil2

nim package that provide additional functions for sequences

Function provided by sequtils2:

  • Element-wise operators (+, -, *, /)
  • Cartesian product (** operator)
  • count
  • filterWithIndex
  • first
  • firstWithIndex
  • forEach
  • forEachIndexed
  • last
  • lastWithIndex
  • mapWithIndex
  • maxBy
  • minBy
  • product
  • reduce
  • reduceReverse
  • reverse
  • sortBy
  • sum
  • uniques
  • zipWithIndex

Documentation link

Need help? Read Nimble
Author:
Michedev
Available versions:
License: MIT

Project website Hosted docs