Documentation
¶
Index ¶
- type Either
- func BindLeft[LA, LB, R any, A Either[LA, R]](either A, fn func(LA) Either[LB, R]) Either[LB, R]
- func BindRight[L, RA, RB any, E Either[L, RA]](either E, fn func(RA) Either[L, RB]) Either[L, RB]
- func Left[R, L any](left L) Either[L, R]
- func MapLeft[LA, LB, R any, E Either[LA, R]](either E, fn func(LA) LB) Either[LB, R]
- func MapRight[L, RA, RB any, E Either[L, RA]](either E, fn func(RA) RB) Either[L, RB]
- func Right[L, R any](right R) Either[L, R]
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.