[erlang-questions] Updating a map

Donald Steven t6sn7gt@REDACTED
Wed Jan 30 13:27:37 CET 2019


The documentation for maps:update states:  update(Key, Value, Map1) -> 
Map2, but since update has an arity of 3, this doesn't work:  
update(Key1, Value1, Key2, Value2, Map1) -> Map2.  Is there an 
other-than one-by-one-sequential-update to update more than one 
key-value in one shot?

Thanks.


Don





More information about the erlang-questions mailing list