Filip Piechowski
either { … }
either { Either.catch { // potentially throwing code }.bind() }
eitherCatch { … }
simon.vergauwen
Either
E
either<Error, A> { val a: A = catch( { // throwing code }, { e: Throwable -> // shift(e.toError()) // transform(e).bind() // return fallback A }) a }
A modern programming language that makes developers happier.