either

Union of two types.

Type Either[L, R] represents a value of either typr L (“left”) or R (“right”).

Classes

Either()

Represents a union of either a left or a right value.

Functions

left(val)

Constructs a left either value.

right(val)

Constructs a right either value.