- Data structures are built with the Wolfram Compiler.
- Data structures provide efficient operations for holding and manipulating data.
- Certain data structures provide mutable operations in the Wolfram Language.
Examplesopen allclose all
Basic Examples (1)
Create an instance of a linked list:
An expression form of the data structure can be generated by InputForm:
The expression form can be used to recreate the data structure:
Create a bit vector data structure:
Get information about the data structure:
Get the type of the data structure:
Get the range for this bit vector data structure:
List the operations available to this data structure:
List the functions available to this data structure:
Pattern Matching (1)
Create a linked list data structure:
A function that accepts any data structure:
A function that accepts a linked list:
The function does not accept a stack:
Introduced in 2020