1
0
dust/examples/remove_loop.ds
2023-10-31 09:31:10 -04:00

9 lines
113 B
Plaintext

list = [1 2 1 3]
removed = remove i from list {
i == 3
}
(assert_equal 3 removed)
(assert_equal [1 2 1] list)