[ library(m_tree234) | Third Party Libraries | Reference Manual | Alphabetic Index ]
delete(+Tree0, ++Key, -Tree)
Delete a key/value pair from a tree.
- A 2-3-4 tree
- The key to delete
- The tree after deletion
If the key Key appears in the tree Tree0, then remove it and its
corresponding value, resulting in the tree Tree. If the key Key
does not appear, Tree is simply bound to Tree0.
This predicate should only be called with trees created by other
predicates from the tree234 module.
remove / 4