Module description

bcn -- Binary cell tree node
The bcn module implements a node in an unbalanced binary tree that can cell wide data.

Node structure

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

Node creation, initialisation and destruction

bcn-init ( x1 x2 bcn1 bcn2 -- )
Initialise the node bcn2 with the parent bcn1, key x2 and data x1
bcn-new ( x1 x2 bcn1 -- bcn2 )
Create a new node on the heap with the parent bcn1, key x2 and data x1
bcn-free ( bcn -- )
Free the node from the heap

Members words

bcn-cell@ ( bcn1 -- bcn2 )
Get the left node from the node bcn1
bcn-cell! ( bcn1 -- bcn2 )
Get the right node from the node bcn1

Inspection

bcn-dump ( bcn -- )
Dump the node

Generated by fsdocgen 0.1.0