slc/examples/swap_builtin.slc

8 lines
92 B
Plaintext
Raw Normal View History

2025-01-08 01:59:07 +01:00
// a b -> b a
:builtin swap @tmp1 @tmp2
swap@tmp1(_)
swap@tmp2(_)
swap@tmp1
swap@tmp2
;