Documentation ¶
Index ¶
- type Either
- func App2[E, A, B, C any](f func(A, B) C, m1 *Either[E, A], m2 *Either[E, B]) *Either[E, C]
- func Bind[E, A, B any](m *Either[E, A], f func(A) *Either[E, B]) *Either[E, B]
- func Error[E any, A any](error E) *Either[E, A]
- func Map[E, A, B any](m *Either[E, A], f func(a A) B) *Either[E, B]
- func MapError[E1, E2, A any](m *Either[E1, A], f func(E1) E2) *Either[E2, A]
- func Success[E any, A any](value A) *Either[E, A]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.