dot-notes v1.0.0 DotNotes.Get
Module containing retrieval based actions for DotNotes. Due to the recursion it made sense to split this into a separate module in order to avoid bloating the main module with private functions.
Summary
Functions
Retrieves a value from a haystack using a provided path
Types
haystack :: %{} | []
Functions
Specs
execute(haystack, path :: binary) :: value :: any
Retrieves a value from a haystack using a provided path.
We use a basic Enum.reduce_while/2
iteration so we can exit early in the case
of a missing branch.