List.flatten/1

defmodule List do
  def flatten(list)
end

Flattens the given list of nested lists.

Empty list elements are discarded.