chickadee » integer-map » fxmapping-adjoin

fxmapping-adjoin fxmap k₁ obj₁ k₂ procedure

Returns a new fxmapping containing all of the associations of fxmap as well as the associations (k₁, v₁), (k₂, k₂), … The number of key/value arguments must be even.

If any of the keys already have associations in fxmap, the old associations are preserved.

(fxmapping->alist (fxmapping-adjoin (fxmapping 1 'b) 0 'a))
 ⇒ ((0 . a) (1 . b))