Skip to main content

iteration_snapshot

Function iteration_snapshot 

Source
pub fn iteration_snapshot(v: &RuntimeValue) -> Result<Vec<RuntimeValue>, String>
Expand description

The Repeat iteration snapshot: the collection is materialized ONCE before the loop, so mutation inside the body cannot extend or shrink the iteration. Text iterates per char (as 1-char Texts); a Map yields (key, value) Tuples in its (nondeterministic) iteration order.