View Source Recase.Enumerable (recase v0.8.1)

Helper module to convert enumerable keys recursively.

Summary

Functions

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

Invoke fun for each keys of the enumerable.

Functions

Link to this function

atomize_keys(enumerable)

View Source
@spec 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
@spec atomize_keys(Enumerable.t(), (... -> any())) :: Enumerable.t()
Link to this function

convert_keys(enumerable)

View Source
@spec convert_keys(Enumerable.t()) :: Enumerable.t()

Invoke fun for each keys of the enumerable.

Link to this function

convert_keys(enumerable, fun)

View Source
@spec convert_keys(Enumerable.t(), (... -> any())) :: Enumerable.t()
Link to this function

stringify_keys(enumerable)

View Source
@spec stringify_keys(Enumerable.t()) :: Enumerable.t()
Link to this function

stringify_keys(enumerable, fun)

View Source
@spec stringify_keys(Enumerable.t(), (... -> any())) :: Enumerable.t()