data class Left<L> : Either<L, Nothing>
The left case of an Either.
Left(l: L)
The left case of an Either. |
val l: L |
fun <T> fold(fL: (L) -> T, fR: (R) -> T): T |
|
fun <T> map(f: (R) -> T): Either<L, T> |
|
fun toOption(): Option<R> |
fun <L, R, T> Either<L, R>.flatMap(f: (R) -> Either<L, T>): Either<L, T> |