@FunctionalInterface
public interface NaturalTransformation<W1,W2>
Modifier and Type | Interface and Description |
---|---|
static class |
NaturalTransformation.NatEx |
Modifier and Type | Method and Description |
---|---|
default <W3> NaturalTransformation<W1,W3> |
andThen(NaturalTransformation<W2,W3> after) |
<T> Higher<W2,T> |
apply(Higher<W1,T> a) |
default <T> java.util.function.Function<Higher<W1,T>,Higher<W2,T>> |
asFunction() |
default <W3> NaturalTransformation<W3,W2> |
compose(NaturalTransformation<W3,W1> before) |
static <T> NaturalTransformation<T,T> |
identity() |
default <W3> NaturalTransformation<W1,W3> andThen(NaturalTransformation<W2,W3> after)
default <W3> NaturalTransformation<W3,W2> compose(NaturalTransformation<W3,W1> before)
static <T> NaturalTransformation<T,T> identity()