Enum

flat_map/2

flat_map(enumerable, fun)

Maps the given fun over enumerable and flattens the result.