michaelbull/kotlin-result
A multiplatform Result monad for modelling success or failure operations. observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 90
- Release rhythm 74
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0.5
- age_days: 3238
- days_rel: 172
- days_push: 60
- n_releases_24m: 7
Adoption not part of the score
1255 stars · 80 forks observed · 2026-08-28
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-08-28 · 6086e196a0b2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| michaelbull/kotlin-result | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="michaelbull/kotlin-result")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem