Hacker GitHub

← All repos

michaelbull/kotlin-result

View on GitHub ↗ ★ 1,260 Kotlin

A multiplatform Result monad for modelling success or failure operations.

6 mentions on Hacker News by 4 people: 0 stories, 6 comments · first 2020-12-01 · latest 2025-10-31

Mentions per year 6 mentions · busiest year 2025 (3)
20082026
  1. …stack traces per instantiation unless you disable that on every subclass. i recommend using https://github.com/michaelbull/kotlin-result?tab=readme-ov-f... (which has a nice breakdown of all the other reasons to avoid `kotlin.Result`)
    comment by rileymichael · 2025-10-31 · in Result is all I need
  2. Nice, what's the KMP plan there? We currently use https://github.com/michaelbull/kotlin-result , which officially should work on KMP, but has some issues.
    comment by RedNifre · 2025-10-31 · in Result is all I need
  3. …tekt/detekt-custom-rule-template/tree/m... and here's the diff for a 'real world' rule I implemented: https://github.com/michaelbull/kotlin-result/compare/master....
    comment by rileymichael · 2025-07-24 · in Detekt – A static code analyzer for Kotlin
  4. …this already given how frequently the project has been adopted over the last seven years. [1] https://github.com/michaelbull/kotlin-result/blob/master/kot... [2] https://github.com/michaelbull/kotlin-result/blob/master/kot... [3]…
    comment by michaelbull · 2024-04-20 · in JEP draft: Exception handling in switch
  5. …traces needlessly unless you disable `writableStackTrace` on your custom throwables). I'm a fan of https://github.com/michaelbull/kotlin-result which has a fantastic API and supports monad comprehension which helps avoid the "arrowheads"…
    comment by rileymichael · 2024-04-20 · in JEP draft: Exception handling in switch
  6. …put your xs.map call in a mapper or something? Because I know for sure you can do it in Kotlin: https://github.com/michaelbull/kotlin-result But I don't see reified generics as a requirement for what you describe, and that's the main…
    comment by BoorishBears · 2020-12-01 · in Error Handling Is Hard