update_map/4 is an Erlang function exported by "age_lists" module. This function updates the first map item from input list with a new one found by selected MapKey and MapValue. The code sample below shows how to find a map with key a => 10 and update (merge) it with #{a => 10, b => 200}. |
|
|