traverseFree<F, B> method

Free<F, Option<B>> traverseFree<F, B>(
  1. Free<F, B> f(
    1. A a
    )
)

Implementation

Free<F, Option<B>> traverseFree<F, B>(Free<F, B> f(A a)) => fold(() => new Pure(none()), (a) => f(a).map(some));