ap<C> method

  1. @override
Reader<R, C> ap<C>(
  1. covariant Reader<R, C Function(A a)> a
)
override

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)));