NestedMap.Flattener (NestedMap v0.1.1) View Source

Flattens a nested map by using an iterative approach, therefore even extremely deeply nested maps can be flattened without stack overflow

Link to this section Summary

Link to this section Types

Link to this type

flattend_map_entry_t()

View Source

Specs

flattend_map_entry_t() :: {list(), any()}

Specs

flattened_map_t() :: [flattend_map_entry_t()]

Specs

maybe(t) :: t | nil

Specs

ok_t() :: {:ok, any()}

Specs

pair_t() :: {any(), any()}

Specs

result_t() :: ok_t() | :error