map<B> method

  1. @override
ReaderTask<E, B> map<B>(
  1. B f(
    1. A a
    )
)
override

Change the returning value of the ReaderTask from type A to type B using f.

Implementation

@override
ReaderTask<E, B> map<B>(B Function(A a) f) => ap(pure(f));