Stream.iterate/2

defmodule Stream do
  def iterate(start, fun)
end

Emits a sequence of values, starting with start. Successive values are generated by calling fun on the previous value.