Function output of the halve stack function where input stack is s, other stack is other, and count is value

halve stack help s

Format:

output of the halve stack function where input stack is s, other stack is other, and count is value

Input:

list s -
list other -
number value -

Output:

list - None

Properties that reference this function:

result of halving the stack stack = output of the halve stack function where input stack is stack, other stack is [ ], and count is ((length of stack stack) / 2) (halve stack begin)
output of the halve stack function where input stack is stack, other stack is other, and count is 0 = [ stack, [ other, [ ] ] ] (halve stack finished)

Conditional properties that reference this function:

  • if c > 0, then output of the halve stack function where input stack is [ a, a_rest ], other stack is other, and count is c = output of the halve stack function where input stack is a_rest, other stack is [ a, other ], and count is (c - 1) (link)


Comments

Please log in to add comments