nip
Input Stack:
|
⇨ | Output Stack:
|
Shorthand equivalent to writing: :swap,:drop
Example:
a,b,:nip
Pos | Input | Output |
---|---|---|
0 | b | b |
1 | a |
Input Stack:
|
⇨ | Output Stack:
|
Shorthand equivalent to writing: :swap,:drop
Example:
a,b,:nip
Pos | Input | Output |
---|---|---|
0 | b | b |
1 | a |