Files
modeling-app/rust/kcl-lib/tests/double_map_fn/input.kcl

9 lines
105 B
Plaintext
Raw Normal View History

fn increment(@i) {
return i + 1
}
xs = [0..2]
ys = xs
|> map(f = increment)
|> map(f = increment)