flatten<R, A> function

Reader<R, A> flatten<R, A>(
  1. Reader<R, Reader<R, A>> f
)

Implementation

Reader<R, A> flatten<R, A>(Reader<R, Reader<R, A>> f) =>
    f.chain(flatMap(identity));