lib/r_enum/stream/native.ex

defmodule REnum.Stream.Native do
  @moduledoc """
  A module defines all of native Stream functions when `use REnum.Stream.Native`.
  [See also.](https://hexdocs.pm/elixir/Stream.html)
  """
  @spec __using__(any) :: list
  defmacro __using__(_opts) do
    REnum.Utils.define_all_functions!(Stream)
  end
end