Skip to content

feature parity with kotlin and deno stdlib collections #11

@scarf005

Description

@scarf005

https://deno.land/std/collections/mod.ts
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/

Functions for specific common tasks around collection types like Array and Record. This module is heavily inspired by kotlins stdlib.

TODO

  • average function #10
  • ascend
  • associateBy
  • associateWith
  • chunk
  • descend
  • distinct
  • distinctBy
  • dropLastWhile
  • dropWhile
  • findSingle
  • firstNotNullishOf
  • groupBy
  • intersect
  • joinToString
  • mapNotNullish
  • maxBy
  • maxOf
  • maxWith
  • minBy
  • minOf
  • minWith
  • partition
  • permutations
  • runningReduce
  • sample
  • slidingWindows
  • sortBy
  • sumOf
  • takeLastWhile
  • takeWhile
  • union
  • unzip
  • withoutAll
  • zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions