Comment Comment by m1el The answer to that is `Either` monad (similar to `Result` in Rust). parent m1el 8 years ago