1
0
dust/examples/transform_loop.ds

9 lines
92 B
Plaintext
Raw Normal View History

2023-10-17 20:40:07 +00:00
list = [1 2 3]
new_list = transform i in list {
i + 1
}
(assert_equal [2 3 4] new_list)