Enum.flat_map/2

defmodule Enum do
  def flat_map(enumerable, fun)
end

Maps the given fun over enumerable and flattens the result.