kotlin-result
Multiplatform Result monad for modelling success or failure operations
A multiplatform Result monad for modeling success or failure operations. The binding keyword allows multiple calls that each return a Result to be chained imperatively. When inside a binding block, the .bind() function is accessible on any Result. Each call to bind will attempt to unwrap the Result and store its value, returning early if any Result is an Err.