Module description

snn -- Generic Single Linked List Node
The snn module implements a node in a generic single linked list snl.

Node structure

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

Node creation, initialisation and destruction

snn-init ( snn -- )
Initialise the node
snn-new ( -- snn )
Create a new node on the heap
snn-free ( snn -- )
Free the node from the heap

Member words

snn-next@ ( snn1 -- snn2 )
Get the next node snn2 from the node snn1
snn-next! ( snn1 snn2 -- )
Set for the node snn1 the next node to snn2

Inspection

snn-dump ( snn -- )
Dump the single list node

Generated by fsdocgen 0.1.0