array/swap
arr i jSummary
Swap values at I and J in ARR
Bytecode
Probably only interesting to you if you want to understand more about the Nujel VM or care very much about performance.
( 0 ($get/val 'array/ref)) ( 2 ($get/val 'arr)) ( 4 ($get/val 'i)) ( 6 ($apply 2)) ( 8 ($det/val 'tmp)) ( 10 ($drop)) ( 11 ($get/val 'array/set!)) ( 13 ($get/val 'array/set!)) ( 15 ($get/val 'arr)) ( 17 ($get/val 'i)) ( 19 ($get/val 'array/ref)) ( 21 ($get/val 'arr)) ( 23 ($get/val 'j)) ( 25 ($apply 2)) ( 27 ($apply 3)) ( 29 ($get/val 'j)) ( 31 ($get/val 'tmp)) ( 33 ($apply 3)) ( 35 ($ret))