Hacker GitHub

← All repos

Kotlin/kotlinx.collections.immutable

View on GitHub ↗ ★ 1,425 Kotlin

Immutable persistent collections for Kotlin

6 mentions on Hacker News by 6 people: 2 stories, 4 comments · first 2016-07-20 · latest 2024-10-09

Mentions per year 6 mentions · busiest year 2017 (2)
20082026
  1. Persistent collections for Kotlin are actually implemented in a first-party library: https://github.com/Kotlin/kotlinx.collections.immutable I use it in almost every project because it works so well with StateFlow:…
    comment by moritzruth · 2024-10-09 · in Show HN: Kotlin Money
  2. …Although there are collections libraries that give you snapshot based collections, like this one: https://github.com/Kotlin/kotlinx.collections.immutable ... I've never seen anyone use them because this is almost always the wrong design.…
    comment by mike_hearn · 2024-08-29 · in Kotlin for data analysis
  3. …like immutable.js ( https://facebook.github.io/immutable-js/ ), or Kotlin's immutable collections ( https://github.com/Kotlin/kotlinx.collections.immutable ) to enforce a mechanism for mutability.
    comment by johnhenry · 2017-05-30 · in Mutable vals in Kotlin
  4. You now have https://github.com/Kotlin/kotlinx.collections.immutable
    comment by lenkite · 2017-05-18 · in Swift is like Kotlin