- BifunctorExtensions
- BiMap <F, P, A, Q, B> (this K<F, P, A> fab, Func<P, Q> First, Func<A, B> Second)
- First <F, P, A, Q> (this K<F, P, A> fab, Func<P, Q> first)
- Second <F, P, A, B> (this K<F, P, A> fab, Func<A, B> second)
- Bifunctor
- bimap <F, P, A, Q, B> (Func<P, Q> first, Func<A, B> second, K<F, P, A> fab)
- first <F, P, A, Q> (Func<P, Q> first, K<F, P, A> fab)
- second <F, P, A, B> (Func<A, B> second, K<F, P, A> fab)
- Bifunctor <F>
class BifunctorExtensions Source #
Functor module
method K<F, Q, B> BiMap <F, P, A, Q, B> (this K<F, P, A> fab, Func<P, Q> First, Func<A, B> Second) Source #
Functor bimap. Maps all contained values of A
to values of X
and every value of B
to Y
type | F | Bifunctor trait |
param | First | Mapping function |
param | Second | Mapping function |
param | fab | Bifunctor structure |
returns | Mapped bifunctor |
Functor module
method K<F, Q, B> bimap <F, P, A, Q, B> (Func<P, Q> first, Func<A, B> second, K<F, P, A> fab) Source #
Functor bimap. Maps all contained values of A
to values of X
and every value of B
to Y
type | F | Bifunctor trait |
param | first | Mapping function |
param | second | Mapping function |
param | fab | Bifunctor structure |
returns | Mapped bifunctor |
interface Bifunctor <F> Source #
Functor in P
and A
type | F | Functor |
method K<F, Q, B> BiMap <P, A, Q, B> (Func<P, Q> first, Func<A, B> second, K<F, P, A> fab) Source #
Functor bimap. Maps all contained values of P
to values of Q
and every value of A
to B
type | F | Functor trait |
param | first | Mapping function |
param | second | Mapping function |
param | fab | Functor structure |
returns | Mapped functor |