kotlinx.collections.immutable
kotlinx.collections.immutable copied to clipboard
Immutable persistent collections for Kotlin
https://github.com/Kotlin/binary-compatibility-validator?tab=readme-ov-file#experimental-klib-abi-validation-support Follow up #169.
I am writing to share suggestions regarding the use of `ImmutableList` within the Kotlin ecosystem, particularly in the context of Android development using Jetpack Compose. As a Kotlin developer, I...
Closes #182.
Can we add an extension function similar to `List` for `ImmutableList`? ``` @kotlin.internal.InlineOnly public inline fun ImmutableList?.orEmpty(): ImmutableList = this ?: persistentListOf() ```
This PR contains serializers along with tests for them: - `ImmutableListSerializer` - `PersistentListSerializer` - `ImmutableSetSerializer` - `PersistentSetSerializer` - `PersistentHashSetSerializer` - `ImmutableMapSerializer` - `PersistentMapSerializer` - `PersistentHashMapSerializer` This PR is relevant to...
Added checksum configuration in Gradle Wrapper properties; Converted settings.gradle to use Kotlin DSL
I've encountered some annyoances when using KotlinX Coroutines, and so I've decided to move my own scattered-around solutions into the library itself. * The functions to create empty collections/maps are...
## Summary This PR adds a `module-info.java` definition, bringing `kotlinx-collections-immutable` to full JPMS support; downstream users can use the new module with the following directive: **`module-info.java`** ```java module your.module.here {...
The latest BCV versions are incompatible with LV 2.1 due to the old `kotlinx-metadata-jvm` version being used. Unfortunately, BCV could not be easily updated (https://github.com/Kotlin/binary-compatibility-validator/issues/241#issuecomment-2202719001). This PR changes the BCV...
Hi! There is a project that uses the old version 0.2 of the library but it seems this version was removed from ``` https://dl.bintray.com/kotlin/kotlinx/ ``` The project is including this...