kotlinx.collections.immutable icon indicating copy to clipboard operation
kotlinx.collections.immutable copied to clipboard

Immutable persistent collections for Kotlin

Results 68 kotlinx.collections.immutable issues
Sort by recently updated
recently updated
newest added
trafficstars

My main blocking issue is that https://github.com/Kotlin/kotlinx.serialization is not supported :(

enhancement
request

For example, here is a `ConcurrentSet`. ```kotlin import kotlinx.collections.immutable.PersistentSet import kotlinx.collections.immutable.persistentSetOf import kotlinx.collections.immutable.toPersistentSet import java.util.concurrent.atomic.AtomicReference class ConcurrentSet(initialValue: Set = persistentSetOf()) : MutableSet { private val set = AtomicReference(initialValue.toPersistentSet()) fun get()...

Coming from Scala I would love to use this but it looks to be still in prototype phase and development has stopped? Is it production ready? What's the current plan...

Programmers are lazy. Immutable collections are safer than mutable ones. Therefore, they should have shorter names (less typing) than the mutable ones. To this end I'd like to propose using...

e.g. For ImmutableLists, there's no implementation that I know of that supports random insertion of elements. By exposing such methods in builders it will lull users into believing the operations...

After reading the other discussions about API design and backing implementation I decided to put some more work in to the tinkering I've been doing on persistent data structures. I...

I tested the library with a simple TodoMVC/Redux/ImmutableJS-like exercice [here](https://github.com/jmfayard/skripts/blob/a8805847c328c1ba3998757961f28f075ad81fce/test/kotlin/immutable.kt#L57-L83) Here is my redux-like reducer ```kotlin fun todoReducer(store: Store, event: Event): Store { val todos = when (event) { DeleteCompleted...

After some investigation looks like Compose is going to use multiple approach to have stable elements (the current stdlib List, Set and so on aren’t). There are two libraries androidx...

request

It would be great if this library was provided as a multi-release jar with module-info.class descriptor, so that it could be part of the Java module system.

request