# assoc
Add or update one or more keys in a map.
## Syntax
[assoc $map $key $value ...]
Accepts one or more key-value pairs after the map.
## Examples
[assoc %{ a 1 } "b" 2] # %{ a 1 b 2 }
[assoc %{ a 1 } "a" 99] # %{ a 99 }
[assoc %{ a 1 } :b 2 :c 3 :d 4] # %{ a 1 b 2 c 3 d 4 }
## Returns
New map with all keys set. The map is unchanged if no key-value pairs are provided.
## See Also
`dissoc`, `merge`, `keys`