mapsum

tollan.utils.mapsum(map_func, gen, *args, **kwargs)[source]

Return a map and sum generator.