[ library(m_tree234) | Reference Manual | Alphabetic Index ]
iter_init(+Tree, -Iter)
Initialises an iterator for the given tree
- Tree
- A 2-3-4 tree
- Iter
- A tree iterator (output)
Description
Initialises an iterator for the given tree. The iterator can
then be used with iter_next/4 to incrementally traverse the tree
in order of ascending keys.
The iterator for an empty tree is always the atom [].
See Also
is_tree234 / 1, iter_next / 4