Recase.Enumerable (recase v0.9.1)

View Source

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

atomize_keys(enumerable)

@spec atomize_keys(Enumerable.t()) :: Enumerable.t()

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

atomize_keys(enumerable, fun)

@spec atomize_keys(Enumerable.t(), fun()) :: Enumerable.t()

convert_keys(enumerable)

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

Invoke fun for each keys of the enumerable.

convert_keys(enumerable, fun)

@spec convert_keys(Enumerable.t(), fun()) :: Enumerable.t()

stringify_keys(enumerable)

@spec stringify_keys(Enumerable.t()) :: Enumerable.t()

stringify_keys(enumerable, fun)

@spec stringify_keys(Enumerable.t(), fun()) :: Enumerable.t()