concatenate method

Conveyor<F, O> concatenate(
  1. Monoid<O> monoid
)

Implementation

Conveyor<F, O> concatenate(Monoid<O> monoid) => pipe(Pipe.scan(monoid.zero(), monoid.append)).lastOr(monoid.zero());