Function: avl-tree--do-copy

avl-tree--do-copy is a byte-compiled function defined in avl-tree.el.gz.

Signature

(avl-tree--do-copy ROOT)

Documentation

Copy the AVL tree wiath ROOT as root.

This function is highly recursive.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/avl-tree.el.gz
;;; INTERNAL USE ONLY
(defun avl-tree--do-copy (root)
  "Copy the AVL tree wiath ROOT as root.
This function is highly recursive."
  (if (null root)
      nil
    (avl-tree--node-create
     (avl-tree--do-copy (avl-tree--node-left root))
     (avl-tree--do-copy (avl-tree--node-right root))
     (avl-tree--node-data root)
     (avl-tree--node-balance root))))