Function stack after popping a value from stack x at index i in traversed elements: result

helper function for the pop_at_list function where result tracks traversed elements

Format:

stack after popping a value from stack x at index i in traversed elements: result

Input:

list x -
list i -
list result -

Output:

list - None

Properties that reference this function:

stack after popping a value from stack xs at index idx = reverse of (stack after popping a value from stack xs at index idx in traversed elements: [ ]) (Pop At List)
stack after popping a value from stack [ x, xs ] at index 0 in traversed elements: result = result of dumping xs to result (Pop At List End)
stack after popping a value from stack [ x, xs ] at index idx in traversed elements: result = stack after popping a value from stack xs at index (idx - 1) in traversed elements: [ x, result ] (Pop At List 2)


Comments

Please log in to add comments