Use monoid to combine the value of Right applied to f.
monoid
f
@override C foldMap<C>(Monoid<C> monoid, C Function(R b) f) => foldRight(monoid.empty, (c, b) => monoid.combine(f(b), c));