Module description

bnn -- Generic binary tree node
The bnn module implements a node in a generic unbalanced binary tree.

Node structure

bnn% ( -- n )
Get the required space for a bnn node

Node creation, initialisation and destruction

bnn-init ( x bnn1 bnn2 -- )
Initialise the node bnn2 with parent bnn1 and key x
bnn-new ( x bnn1 -- bnn2 )
Create a new node on the heap with parent bnn1 and key x
bnn-free ( bnn -- )
Free the node from the heap

Member words

bnn-key@ ( bnn -- x )
Get the key from the node

Inspection

bnn-dump ( bnn -- )
Dump the node

Generated by fsdocgen 0.1.0