arrow-fx / arrow.fx / IO / map


open fun <B> map(f: (A) -> B): IO<B>

Transform the IO wrapped value of A into B preserving the IO structure.


f - a pure function that maps the value A to a value B.

Returns an IO that results in a value B.

Do you like Arrow?

Arrow Org