ap<C> method
Apply the function contained inside a
to change the value on the Some from
type R
to a value of type C
.
Implementation
@override
TaskOption<C> ap<C>(covariant TaskOption<C Function(R r)> a) =>
a.flatMap((f) => flatMap((v) => pure(f(v))));