1
0
dust/examples/filter_loop.ds

9 lines
90 B
Plaintext
Raw Normal View History

2023-10-17 21:52:41 +00:00
list = [1 2 1 2]
new_list = filter i in list {
i == 2
}
(assert_equal [2 2] new_list)