Packages

REnum is Enum extended with convenient functions inspired by Ruby and Rails ActiveSupport.

Current section

Files

Jump to
r_enum lib r_list native.ex
Raw

lib/r_list/native.ex

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