Enum

map_intersperse/3

map_intersperse(enumerable, elem, fun)

Maps with the function fun and intersperses the given enumerable in one pass.