Function patch_seq_pick_op
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_pick_op(stack: Stack) -> Stack
Expand description
Pick: Copy the nth value to the top
( … xn … x1 x0 n – … xn … x1 x0 xn )
§Safety
Stack must have at least n+1 values (plus the index value).
§Panics
- If the top value is not an Int
- If n is negative
- If n exceeds the current stack depth