@FunctionalInterface public interface F0<A> extends Supplier<A>, Functor<F0.μ,A>
| Modifier and Type | Interface and Description |
|---|---|
static class |
F0.μ
The witness type of
F0. |
| Modifier and Type | Method and Description |
|---|---|
A |
call()
Returns a result.
|
default A |
get() |
default <B> F0<B> |
map(F1<? super A,? extends B> fn)
Map applies the function
fn to the contents of this Functor, returning a new Functor
whose contents is the result of that function application. |
A call()
default <B> F0<B> map(F1<? super A,? extends B> fn)
Functorfn to the contents of this Functor, returning a new Functor
whose contents is the result of that function application.Copyright © 2018. All rights reserved.