1
0
dust/examples/yield.ds

10 lines
100 B
Plaintext
Raw Normal View History

2023-11-06 19:10:12 -05:00
1 -> output
add_one = |list| {
transform number in list {
number + 1
}
}
[1, 2, 3] -> add_one