| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.96.0/docs/apis/_sources/rbtree_0.rst.txt |
.. index:: single: rbtree .. _rbtree/0:
.. rst-class:: right
object
rbtreeRed-Black tree implementation of the dictionary protocol. Uses standard order to compare keys.
| Availability:
| logtalk_load(dictionaries(loader))
| Author: Vitor Santos Costa; Logtalk port and additional predicates by Paulo Moura. | Version: 1:9:0 | Date: 2021-04-12
| Compilation flags:
| static, context_switching_calls
| Implements:
| public :ref:`dictionaryp <dictionaryp/0>`
| Extends:
| public :ref:`term <term/0>`
| Remarks: | (none)
| Inherited public predicates:
| Â :ref:comparingp/0::(<)/2 Â :ref:comparingp/0::(=:=)/2 Â :ref:comparingp/0::(=<)/2 Â :ref:comparingp/0::(=\=)/2 Â :ref:comparingp/0::(>)/2 Â :ref:comparingp/0::(>=)/2 Â :ref:dictionaryp/0::apply/4 Â :ref:dictionaryp/0::as_curly_bracketed/2 Â :ref:dictionaryp/0::as_dictionary/2 Â :ref:dictionaryp/0::as_list/2 Â :ref:termp/0::check/1 Â :ref:dictionaryp/0::clone/3 Â :ref:dictionaryp/0::clone/4 Â :ref:dictionaryp/0::delete/4 Â :ref:dictionaryp/0::delete_max/4 Â :ref:dictionaryp/0::delete_min/4 Â :ref:termp/0::depth/2 Â :ref:dictionaryp/0::empty/1 Â :ref:termp/0::ground/1 Â :ref:dictionaryp/0::insert/4 Â :ref:dictionaryp/0::intersection/2 Â :ref:dictionaryp/0::intersection/3 Â :ref:dictionaryp/0::keys/2 Â :ref:dictionaryp/0::lookup/2 Â :ref:dictionaryp/0::lookup/3 Â :ref:dictionaryp/0::map/2 Â :ref:dictionaryp/0::map/3 Â :ref:dictionaryp/0::max/3 Â :ref:dictionaryp/0::min/3 Â :ref:termp/0::new/1 Â :ref:dictionaryp/0::next/4 Â :ref:termp/0::numbervars/1 Â :ref:termp/0::numbervars/3 Â :ref:termp/0::occurs/2 Â :ref:dictionaryp/0::previous/4 Â :ref:termp/0::singletons/2 Â :ref:dictionaryp/0::size/2 Â :ref:termp/0::subsumes/2 Â :ref:termp/0::subterm/2 Â :ref:dictionaryp/0::update/3 Â :ref:dictionaryp/0::update/4 Â :ref:dictionaryp/0::update/5 Â :ref:termp/0::valid/1 Â :ref:dictionaryp/0::values/2 Â :ref:termp/0::variables/2 Â :ref:termp/0::variant/2 Â :ref:termp/0::varnumbers/2 Â :ref:termp/0::varnumbers/3 Â
.. contents:: :local: :backlinks: top
.. index:: partial_map/4 .. _rbtree/0::partial_map/4:
partial_map/4 ^^^^^^^^^^^^^^^^^
Applies a closure to the tree pairs identified by a set of keys.
| Compilation flags:
| static
| Template:
| partial_map(Tree,Keys,Closure,NewTree)
| Meta-predicate template:
| partial_map(*,*,2,*)
| Mode and number of proofs:
| partial_map(+tree,+list,@closure,-tree) - zero_or_one
(no local declarations; see entity ancestors if any)
(no local declarations; see entity ancestors if any)
(none)
.. seealso::