|
Serene Runtime 1.0.0
C runtime for the Serene programming language
|
A list is a singly linked sequence of values. More...
#include <lists.h>
Data Fields | |
| srn_value_t * | value |
| struct srn_list_node_t * | next |
A list is a singly linked sequence of values.
Nodes hold a value and a pointer to the next node; the list header caches the length and points at the head node. Empty lists are represented by nil_v; a list value with tag VList always has at least one element.
| struct srn_list_node_t* srn_list_node_t::next |
| srn_value_t* srn_list_node_t::value |