Stream.filter/2

defmodule Stream do
  def filter(stream, fun)
end

Creates a stream that filters elements according to the given function on enumeration.