Change the value of type A to a value of type B using function f.
A
B
f
@override IO<B> map<B>(B Function(A a) f) => ap(pure(f));