Browse Kotlin Multiplatform libraries

index data from klibs.io
Sort
Tagfunctional-programming
kotlin-monads-multiplatform-library0.0.19
1

Functional monads for safer null and error handling: Maybe, Either, Try; error-accumulating types, evaluation combinators for combining results, and tuple utilities up to quintuple.

AndroidJVMNativeWasm·BenRomdhaneOmar·GNU Affero General Public License v3.0
Monadic-Kotlin1.0.0
0

Distributed library enables functional programming integration by allowing selective dependency inclusion, minimizing application bloat. Features include `Either`, `Optional`, `LCE` monads, and utility functions for functional constructs.

JSJVMNativeWasm·pavelannin·Apache License 2.0
okres5.3
0

Offers an oversimplified result monad library, facilitating error handling and result processing through chaining functions like `andThen`, `onOk`, and `onErr` for streamlined message processing.

JSJVMNative·sergejsha
outcome0.3.2
0

Alternative to the Result type, enabling typed error handling. Supports operations like `getOrElse`, `map`, and `flatMap` for enhanced error management and control flow.

JSJVMNativeWasm·thebrownfoxx·Apache License 2.0
partial-function-kt0.1.1
0

Offers Scala's PartialFunction, enabling partial application of functions with chaining capabilities for complex logic, and supports operations with arrays, results, or nullable types.

AndroidJVMNative·jsoizo·MIT License
anyhowkt1.0.1
0

Rust-style error handling with context-aware errors, a result builder, bind() short-circuiting, bail/ensure helpers, typed/untyped errors, rich contextual propagation, and converts existing Result values for seamless interop.

AndroidJSJVMNativeWasm·itsvks19·MIT License
superposition0.0.1-alpha01
0

Lightweight, zero-overhead Result type offering type-safe failures, enforced handling, functional composition, concise operator syntax, exception-to-failure mapping, map/recover operators and debugging support.

JSNativeWasm·diareuse·GNU General Public License v3.0
funKtional1.1.3
01 used by

Lightweight functional extensions for nullable handling, suspend-friendly mapping, type-safe casting, null-aware matching, and lift combinators for combining nullable values with concise chaining.

JVMNative·ktomek·MIT License
kotlin-data4.0.0
0

Compact immutable collections, mutable primitive buffers, persistent queues and heaps, plus Option/Either/Validated result types—primitive buffers avoid boxing; includes Arr, ArrMap, BankersQueue, LeftistHeap.

AndroidJVMNative·wabbit-corp·GNU Affero General Public License v3.0