1. Stepan Koltsov
  2. bolts
Issue #2 new

ru.yandex.bolts.collection.Either#tryCatch differs in convention from scala.Either

Anonymous created an issue

Scala's either dictates that the convention is for the Throwable to be on the left:

//The Either type is often used as an alternative to scala.Option where Left represents failure (by convention) and Right is akin to Some//

Either.tryCache returns an Either<A, Throwable>.

Comments (0)

  1. Log in to comment