Function list_pop

Source
pub fn list_pop(
    list_pointer: BFieldElement,
    memory: &mut HashMap<BFieldElement, BFieldElement>,
    element_length: usize,
) -> Vec<BFieldElement>
Expand description

Pop an element from the pointed-to list.

Only supports lists with statically sized elements.

ยงPanics

Panics if the pointed-to list is empty, or if the list is incorrectly encoded.