Packages

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

Current section

Files

Jump to
r_enum lib r_map.ex
Raw

lib/r_map.ex

defmodule RMap do
@moduledoc """
Entry point of Map extensions, and can use all of RMap.* and REnum functions.
See also.
- [RMap.Native](https://hexdocs.pm/r_enum/RMap.Native.html#content)
- [REnum](https://hexdocs.pm/r_enum/REnum.html#content)
"""
use RMap.Native
use RMap.Ruby
use RMap.ActiveSupport
use RMap.Support
use REnum,
undelegate_functions:
(Map.module_info()[:exports] |> Keyword.keys()) ++ [:select, :filter, :reject]
end