:: (a -> b) -> [a] -> b package:universum

This function may be used as a value for foldMap in a Foldable instance.
foldMapDefault f ≡ getConst . traverse (Const . f)