RosettaCodeData/Task/Arrays/Transd/arrays-3.transd

6 lines
157 B
Plaintext

(with v [3,1,5,2,4]
(textout (reverse v)) // <= [4, 2, 5, 1, 3]
(textout (sort v)) // <= [1, 2, 3, 4, 5]
(textout (shuffle v)) // <= [5, 3, 4, 1, 2]
)