6.2 - Your Results are monads
-
Updated
Nov 19, 2017 - Kotlin
6.2 - Your Results are monads
Rust inspired result type representing success and error values in Kotlin
Additional extensions and imperative bindings for Kotlin's 'Result' type
This project adds several new methods to the Kotlin Result (`kotlin.Result<T>`) type to facilitate more robust, functional-style error handling. These extensions (like `flatMap`) unleash all the "monadic power" of `kotlin.Result`, making it a real Monad.
Add a description, image, and links to the result-type topic page so that developers can more easily learn about it.
To associate your repository with the result-type topic, visit your repo's landing page and select "manage topics."