chickadee » srfi-225 » dict-adjoin!

dict-adjoin! dto dict obj ...procedure

Returns a dictionary that contains all the associations of dict plus those specified by objs, which alternate between keys and values. If a key to be added already exists in dict, the old value prevails.

(dict-adjoin! dto dict 7 8)((7 . 8) (1 . 2) (3 . 4) (5 . 6))
(dict-adjoin! dto dict 3 5)((1 . 2) (3 . 4) (5 . 6))