public interface Monoidal<P extends K2,Mu extends Monoidal.Mu> extends Profunctor P
Modifier and Type | Interface and Description |
---|---|
static interface |
Monoidal.Mu |
Modifier and Type | Method and Description |
---|---|
P<Void,Void> |
empty() |
<A,B,C,D> P<(A,C),(B,D)> |
par(P<A,B> first,
by-name P<C,D> second) |
static <P extends K2,Proof extends Monoidal.Mu> |
unbox(Proof<P> proofBox)
Thunk method that casts an applied
Profunctor.Mu to a Profunctor . |
static <P extends K2,Proof extends Monoidal.Mu> Monoidal<P,Proof> unbox(Proof<P> proofBox)
Profunctor
Profunctor.Mu
to a Profunctor
.unbox
in interface Profunctor P extends K2
P
- The container type.Proof
- The witness type.proofBox
- The boxed profunctor.