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

8 lines
134 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(with v [1,2,3]
(textout (get v 1)) // <= 2
(erase v 1)
(textout v) // <= [1, 3]
(append v 7)
(textout v) // <= [1, 3, 7]
)