Function: map-values-apply

map-values-apply is a byte-compiled function defined in map.el.gz.

Signature

(map-values-apply FUNCTION MAP)

Documentation

Return the result of applying FUNCTION to the value of each key in MAP.

The default implementation delegates to map-apply.

Other relevant functions are documented in the map group.

Shortdoc

;; map
(map-values-apply #'1+ (list '(1 . 2) '(3 . 4)))
    => (3 5)

Implementations

(map-values-apply FUNCTION (MAP array)) in `map.el'.

Undocumented

(map-values-apply FUNCTION MAP) in `map.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/map.el.gz
(cl-defgeneric map-values-apply (function map)
  "Return the result of applying FUNCTION to the value of each key in MAP.
The default implementation delegates to `map-apply'."
  (map-apply (lambda (_ val)
               (funcall function val))
             map))