Interface Pure<F extends Functor<?,? extends F>>
- Type Parameters:
F- theFunctorto lift into
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Generalized, portable
Applicative.pure(Object), with a loosened Functor constraint.-
Method Summary
Modifier and TypeMethodDescriptionapply(A a) checkedApply(A a) static <F extends Applicative<?,? extends F>>
Pure<F> of(Applicative<?, ? extends F> app) Static method to aid inference.