-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Map.put_in_path should have the interface
- Map.put_in_path(map, path, value, options)
- Options:
-
funa function with arguments (:create_path, parents, key-> map:create_value, parents, cur_value-> map
-
{:create_value, fun}where fun acceptsparents, cur_valueas arguments and returnsvalue -
{:create_path, fun}where fun acceptsparents, key as argumentsand returns the path element's value (%{}by default) -
:replace: replaces the last element this is the default -
:make_and_append_to_list -
make_and_prepend_to_list -
:append_list -
:prepend_list
Metadata
Metadata
Assignees
Labels
No labels