Index

swap

swap

Description

Swaps the order of the top two items on the stack.

Examples

trace2(swap(1 2)) #prints '2 1'

Index