View Source maps_in (maps_in v0.1.0)
Link to this section Summary
Link to this section Functions
-spec get(Path, Map) -> Value when Path :: [term()], Map :: map(), Value :: term().
-spec get(Path, Map, Default) -> Value | Default
when Path :: [term()], Map :: map(), Default :: term(), Value :: term().
-spec get_and_update(Path, Fun, Map1) -> Map2
when
Path :: [term()],
Fun :: fun((term()) -> term()),
Map1 :: map(),
Map2 :: map().
-spec put(Path, Value, Map1) -> Map2
when Path :: [term()], Value :: term(), Map1 :: map(), Map2 :: map().
-spec update(Path, Value, Map1) -> Map2
when Path :: [term()], Value :: term(), Map1 :: map(), Map2 :: map().