foldMap

open fun <R> foldMap(empty: R, combine: (R, R) -> R, source: S, map: (focus: A) -> R): R(source)

Map each target to a type R and combine the results as a fold.