concatenate method

  1. @override
R concatenate(
  1. Monoid<R> monoid
)

Use monoid to combine the value of Right.

Implementation

@override
R concatenate(Monoid<R> monoid) => foldMap(monoid, identity);