Function: avl-tree-mapc
avl-tree-mapc is a byte-compiled function defined in avl-tree.el.gz.
Signature
(avl-tree-mapc FUN TREE &optional REVERSE)
Documentation
Apply function FUN to all elements in AVL TREE, for side-effect only.
FUNCTION is applied to the elements in ascending order, or descending order if REVERSE is non-nil.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/avl-tree.el.gz
(defun avl-tree-mapc (fun tree &optional reverse)
"Apply function FUN to all elements in AVL TREE, for side-effect only.
FUNCTION is applied to the elements in ascending order, or
descending order if REVERSE is non-nil."
(avl-tree--mapc
(lambda (node)
(funcall fun (avl-tree--node-data node)))
(avl-tree--root tree)
(if reverse 1 0)))