Recase.Enumerable (recase v0.7.0) View Source

Helper module to convert enumerable keys recursively.

Link to this section Summary

Functions

Invoke fun for each keys of the enumerable and cast keys to atoms.

Invoke fun for each keys of the enumerable.

Link to this section Functions

Link to this function

atomize_keys(enumerable)

View Source

Specs

atomize_keys(Enumerable.t()) :: Enumerable.t()

Invoke fun for each keys of the enumerable and cast keys to atoms.

Link to this function

atomize_keys(enumerable, fun)

View Source

Specs

atomize_keys(Enumerable.t(), (... -> any())) :: Enumerable.t()
Link to this function

convert_keys(enumerable)

View Source

Specs

convert_keys(Enumerable.t()) :: Enumerable.t()

Invoke fun for each keys of the enumerable.

Link to this function

convert_keys(enumerable, fun)

View Source

Specs

convert_keys(Enumerable.t(), (... -> any())) :: Enumerable.t()
Link to this function

stringify_keys(enumerable)

View Source

Specs

stringify_keys(Enumerable.t()) :: Enumerable.t()
Link to this function

stringify_keys(enumerable, fun)

View Source

Specs

stringify_keys(Enumerable.t(), (... -> any())) :: Enumerable.t()