Expand description
List operations for Seq
Higher-order combinators and basic list helpers over the variant-based list representation. FFI entry points are grouped into per-concern sub-modules and re-exported from here so the flat public surface is unchanged.
Re-exports§
pub use patch_seq_list_each as list_each;pub use patch_seq_list_empty as list_empty;pub use patch_seq_list_filter as list_filter;pub use patch_seq_list_fold as list_fold;pub use patch_seq_list_get as list_get;pub use patch_seq_list_length as list_length;pub use patch_seq_list_make as list_make;pub use patch_seq_list_map as list_map;pub use patch_seq_list_push as list_push;pub use patch_seq_list_reverse as list_reverse;pub use patch_seq_list_set as list_set;
Functions§
- patch_
seq_ ⚠list_ each - Apply a quotation to each element of a list (for side effects)
- patch_
seq_ ⚠list_ empty - Check if a list is empty
- patch_
seq_ ⚠list_ filter - Filter a list, keeping elements where quotation returns true
- patch_
seq_ ⚠list_ fold - Fold a list with an accumulator and quotation
- patch_
seq_ ⚠list_ get - Safety
- patch_
seq_ ⚠list_ length - Safety
- patch_
seq_ ⚠list_ make - Create an empty list
- patch_
seq_ ⚠list_ map - Map a quotation over a list, returning a new list
- patch_
seq_ ⚠list_ push - Append an element to a list with COW optimization.
- patch_
seq_ ⚠list_ reverse - Get an element from a list by index
- patch_
seq_ ⚠list_ set - Set an element in a list by index with COW optimization.