tuck
Input Stack:
|
⇨ | Output Stack:
|
Shorthand equivalent to writing: :swap,:over
Example:
a,b,:tuck
Pos | Input | Output |
---|---|---|
0 | b | b |
1 | a | a |
2 | b |
Input Stack:
|
⇨ | Output Stack:
|
Shorthand equivalent to writing: :swap,:over
Example:
a,b,:tuck
Pos | Input | Output |
---|---|---|
0 | b | b |
1 | a | a |
2 | b |