chickadee » srfi-225 » dict-map

dict-map dto proc dictprocedure

Returns a dictionary similar to dict that maps each of dict to the result of applying proc to the key and corresponding value of dict.

(dict-map dto (lambda (k v) (- v)) dict)((1 . -2) (3 . -4) (5 . -6))