Left

data class Left<L>(val l: L) : Either<L, Nothing> (source)

The left case of an Either.

Constructors

Link copied to clipboard
constructor(l: L)

Functions

Link copied to clipboard
inline fun <L, R, T> Either<L, R>.flatMap(f: (R) -> Either<L, T>): Either<L, T>
Link copied to clipboard
inline fun <T> fold(fL: (L) -> T, fR: (Nothing) -> T): T
Link copied to clipboard
inline fun <T> map(f: (Nothing) -> T): Either<L, T>
Link copied to clipboard

Properties

Link copied to clipboard
val l: L