arrow-fx / arrow.fx / IO / map
map
open fun <B> map(f: (A) -> B):
IO
<B>
Transform the IO wrapped value of A into B preserving the IO structure.
Parameters
f
- a pure function that maps the value A to a value B.
Returns
an IO that results in a value B.