michaelbull/kotlin-result
Some data may be outdated — see provenance labels.
A multiplatform Result monad for modelling success or failure operations. observed · 2026-09-21
Health v2 · maintenance only
80/100
- Activity 82
- Release rhythm 67
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0.5
- age_days: 3287
- days_rel: 221
- days_push: 109
- n_releases_24m: 7
Adoption not part of the score
1258 stars · 81 forks observed · 2026-09-21
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Kotlin multiplatform library providing a Result monad for modelling success or failure operations without exceptions. It supports Ok/Err types, railway-oriented programming, and coroutine extensions across JVM, JS, Native, and WASM targets.
Use cases
- model success or failure of operations in kotlin without exceptions
- replace try-catch with explicit error handling in kotlin
- implement railway oriented programming in kotlin
- share error-handling logic across jvm ios and js with kotlin multiplatform
- wrap throwing code into a result type
- convert nullable values into typed errors
When to choose
- you write kotlin multiplatform code and want idiomatic typed error handling
- you prefer functional programming style with explicit happy and unhappy paths
- you need a lightweight, well-maintained result type with coroutine support
When to avoid
- your codebase relies on exception-based error handling conventions
- you are not using kotlin
- you need a full functional programming toolkit rather than just a Result type
Facets
library · maturity active
error-handling type-system programming-languages developer-tools jvm browser wasm windows kotlin-multiplatform result-monad functional-programming either railway-oriented-programming coroutines ios nodejs linux macos android
1 source
- readme: https://github.com/michaelbull/kotlin-result · fetched 2026-09-21 · 6086e196a0b2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| michaelbull/kotlin-result | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="michaelbull/kotlin-result")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem