flatMap<A, B> function

IO<B> Function(IO<A> ) flatMap<A, B>(
  1. IO<B> f(
    1. A
    )
)

Implementation

IO<B> Function(IO<A>) flatMap<A, B>(
  IO<B> Function(A) f,
) =>
    (io) => () => f(io())();