F
- The witness type of the first transformation.G
- The witness type of the second transformation.A
- The input type.B
- The output type.C
- The intermediate type.public final class Procompose<F extends K2,G extends K2,A,B,C> extends Object
Procompose
represents the composition of these transformations. This is analogous
to function composition, but for a general profunctor.
A Procompose<F, G, A, B, C>
is analogous to a transformation F
from A
to C
followed by a transformation G
from C
to B
.
Profunctor
,
Function.compose(Function)
Constructor and Description |
---|
Procompose(by-name F<A,C> first,
G<C,B> second)
Constructs a new
Procompose that composes the given profunctors. |