kotlin-result

A multiplatform Result monad for modelling success or failure operations. (by michaelbull)

Kotlin-result Alternatives

Similar projects and alternatives to kotlin-result

  1. Lemmy

    🐀 A link aggregator and forum for the fediverse

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. redux

    295 kotlin-result VS redux

    A JS library for predictable global state management

  4. JDK

    202 kotlin-result VS JDK

    JDK main-line development https://openjdk.org/projects/jdk

  5. pyright

    Static Type Checker for Python

  6. warp

    A super-easy, composable, web server framework for warp speeds. (by seanmonstar)

  7. KEEP

    62 kotlin-result VS KEEP

    Kotlin Evolution and Enhancement Process (by Kotlin)

  8. kotlinx.coroutines

    Library support for Kotlin coroutines

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. cargo-crev

    A cryptographically verifiable code review system for the cargo (Rust) package manager.

  11. ktor

    55 kotlin-result VS ktor

    Framework for quickly creating connected applications in Kotlin with minimal effort

  12. miniserve

    🌟 For when you really just want to serve some files over HTTP right now!

  13. Kategory

    Λrrow - The perfect companion for your Kotlin journey - Inspired by functional, data-oriented and concurrent programming (by arrow-kt)

  14. simple-stack

    [ACTIVE] Simple Stack, a backstack library / navigation framework for simpler navigation and state management (for fragments, views, or whatevers).

  15. vigil

    31 kotlin-result VS vigil

    Vigil, the eternal morally vigilant programming language

  16. uom

    Units of measurement -- type-safe zero-cost dimensional analysis

  17. Tokamak

    SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms

  18. Rust-Full-Stack

    Rust projects here are easy to use. There are blog posts for them also.

  19. FsToolkit.ErrorHandling

    An opinionated F# Library for error handling

  20. kotlin-monads

    Monads for Kotlin

  21. Optional

    A robust option type for C#

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better kotlin-result alternative or higher similarity.

kotlin-result discussion

Log in or Post with

kotlin-result reviews and mentions

Posts with mentions or reviews of kotlin-result. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • JEP draft: Exception handling in switch
    6 projects | news.ycombinator.com | 19 Apr 2024
    Author here. I have no idea what you could possibly mean with this comment. The coroutineBinding implementation correctly uses the coroutines API for parallel decomposition of Result bindings, exactly how the Kotlin Corotines guide tells you to (backed by a [Mutex](https://github.com/michaelbull/kotlin-result/blob/master/kot...)). The coroutineBinding isn't even the main selling point of the library, you can use it without using this feature entirely.

    Please could you elaborate on what "looking thread safe" means to you? The only portion of the library that supports concurrency *is* thread safe - the unit tests prove it and the use of concurrency primitives such as Kotlin's Mutex are indicative of this. I truly have no idea how you've judged the entirely of the lbirary on whether it's "thread safe" when there is a single function that's related to concurrency and it is very clearly using concurrency primitives.

  • How do you define errors?
    1 project | /r/Kotlin | 17 Apr 2023
    Sealed classes in combination with a library like https://github.com/michaelbull/kotlin-result will get you what you need. Essentially at that point you'll be doing error handling the way you would in Rust, where a 1-level deep sealed class containing data classes as children act as the root error type and each of its variants. If you have errors coming from two different domains you just create a wrapper error type for each domain.
  • Result Class with Generic Type for both Success and Failure States
    5 projects | /r/Kotlin | 21 Mar 2023
    This is a great result lib: https://github.com/michaelbull/kotlin-result
  • Is runCatching in use in any of your projects ? My team is abusing it
    2 projects | /r/androiddev | 20 Mar 2023
    Lastly I do not like kotlin's Result and we use the kotlin-result library which is more expressive and not tied to Throwable (similar to Arrow's Either).
  • Struggling with software robustness with Kotlin
    2 projects | /r/Kotlin | 28 Feb 2023
    In my own code, I started to use explicit error handling. I'm currently experimenting with Result (from https://github.com/michaelbull/kotlin-result) and Raise (from https://arrow-kt.io/).
  • Thoughts on Kotlin Multiplatform?
    1 project | /r/androiddev | 2 Feb 2023
    un-related to multiplatform i've found it extremely helpful to wrap things in a Result type. If something can throw an error, it get's a Result return type. It sounds like that would help your use case too. The built in Result may be useful too
  • Programming with Result
    2 projects | /r/Kotlin | 29 Oct 2022
    This is a better impl.
  • It seems like I'm forced to make this choice at least once a day
    5 projects | /r/ProgrammerHumor | 25 Oct 2022
  • Are nearly all your functions suspend?
    1 project | /r/Kotlin | 18 Aug 2022
    Using a result type can help to differentiate quite nicely. https://github.com/michaelbull/kotlin-result
  • Kotlin Nitpicks: Language and Standard Library
    3 projects | /r/Kotlin | 14 Aug 2022
    kotlin-result
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 17 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic kotlin-result repo stats
35
1,115
7.6
3 months ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Kotlin is
the 17th most popular programming language
based on number of references?