Skip to main content

Crate sim_list_cell

Crate sim_list_cell 

Source
Expand description

Cell-based list backend for the SIM constellation.

Provides a mutable cons-cell list implementation satisfying the kernel ListBackend contract, registered as a loadable library through install_cons_list_lib. Lists are built from shared ConsList cells.

Structs§

ConsBackend
The cons ListBackend: constructs ConsList objects for the runtime’s list-construction and cons operations.
ConsList
A singly linked, shared cons-cell list.
ConsListDescriptor
Serialized citizen form of a crate::ConsList: the list’s items as a vector of Expr, encoded and decoded under the list/ConsList class.
ConsListLib
The loadable Lib manifest for the cons-cell list backend, registered under the list/cons id by install_cons_list_lib.

Functions§

cons_list_class_symbol
The class symbol for the cons-cell list class, list/ConsList.
install_cons_list_lib
Registers the ConsBackend in the list registry and loads ConsListLib, making cons-cell lists available to cx.