Versions in this module Expand all Collapse all v1 v1.16.0 Sep 25, 2025 Changes in this version + func FlatMapLeft[Lin any, R any, Lout any](f func(Lin) mo.Either[Lout, R]) func(either mo.Either[Lin, R]) mo.Either[Lout, R] + func FlatMapRight[L any, Rin any, Rout any](f func(Rin) mo.Either[L, Rout]) func(either mo.Either[L, Rin]) mo.Either[L, Rout] + func MapLeft[Lin any, R any, Lout any](f func(Lin) Lout) func(either mo.Either[Lin, R]) mo.Either[Lout, R] + func MapRight[L any, Rin any, Rout any](f func(Rin) Rout) func(either mo.Either[L, Rin]) mo.Either[L, Rout] + func Match[Lin any, Rin any, Lout any, Rout any](onLeft func(Lin) Lout, onRight func(Rin) Rout) func(either mo.Either[Lin, Rin]) mo.Either[Lout, Rout] + func Pipe10[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any, E1 any, E2 any, ...](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[K1, K2] + func Pipe1[A1 any, A2 any, B1 any, B2 any](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2]) mo.Either[B1, B2] + func Pipe2[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[C1, C2] + func Pipe3[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[D1, D2] + func Pipe4[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any, E1 any, E2 any](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[E1, E2] + func Pipe5[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any, E1 any, E2 any, ...](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[F1, F2] + func Pipe6[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any, E1 any, E2 any, ...](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[G1, G2] + func Pipe7[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any, E1 any, E2 any, ...](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[H1, H2] + func Pipe8[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any, E1 any, E2 any, ...](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[I1, I2] + func Pipe9[A1 any, A2 any, B1 any, B2 any, C1 any, C2 any, D1 any, D2 any, E1 any, E2 any, ...](source mo.Either[A1, A2], operator1 func(mo.Either[A1, A2]) mo.Either[B1, B2], ...) mo.Either[J1, J2] + func Swap[I any, O any]() func(either mo.Either[I, O]) mo.Either[O, I] + func TestPipeTypeTransformations(t *testing.T)