dust/examples/find_loop.ds

8 lines
77 B
Plaintext
Raw Normal View History

2023-10-18 22:26:45 +00:00
list = [1 2 1 3]
found = find i in list {
i == 3
}
(assert_equal 3 found)