Function fold_map

Source
pub fn fold_map<M, C, F>(container: C, mapper: F) -> M
where M: Monoid, C: Foldable<M>, F: Fn(&<C as HKT<M>>::Current) -> M,