T - The container type.C - The input type of the functions.Mu - The witness type of this functor.public interface Representable<T extends K1,C,Mu extends Representable _> extends Functor T
Functor that can convert values to and from a function.| Modifier and Type | Method and Description |
|---|---|
<A> T<A> |
from((C) -> A input)
Converts a function to a value of the container type.
|
<A> (C) -> A |
to(T<A> input)
Converts the given container to a function.
|