Versions in this module Expand all Collapse all v0 v0.0.3 Oct 16, 2023 v0.0.2 Sep 3, 2022 Changes in this version + type Either struct + func NewLeft(l L) Either[L, R] + func NewRight(r R) Either[L, R] + func (v Either[L, R]) MapLeft(f func(l L)) + func (v Either[L, R]) MapRight(f func(r R)) + func (v Either[T, E]) IsLeft() bool + func (v Either[T, E]) IsRight() bool + func (v Either[T, E]) Left() T + func (v Either[T, E]) Right() E