diff --git a/tvix/eval/src/value/list.rs b/tvix/eval/src/value/list.rs index 77776c4dc..b8682a5b3 100644 --- a/tvix/eval/src/value/list.rs +++ b/tvix/eval/src/value/list.rs @@ -39,6 +39,10 @@ impl NixList { NixList(stack_slice) } + pub fn iter(&self) -> std::slice::Iter { + self.0.iter() + } + pub fn into_iter(self) -> std::vec::IntoIter { self.0.into_iter() }