ap<C> method
Apply the function contained inside a
to change the value of type A
to
a value of type B
.
Implementation
@override
Reader<R, C> ap<C>(covariant Reader<R, C Function(A a)> a) =>
Reader((r) => a.run(r)(run(r)));
Apply the function contained inside a
to change the value of type A
to
a value of type B
.
@override
Reader<R, C> ap<C>(covariant Reader<R, C Function(A a)> a) =>
Reader((r) => a.run(r)(run(r)));