Files
modeling-app/rust/kcl-lib/tests/pipe_as_arg/unparsed.snap

21 lines
275 B
Plaintext
Raw Permalink Normal View History

---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing pipe_as_arg.kcl
---
fn cube(length, center) {
return length
}
fn double(@x) {
return x * 2
}
fn width() {
return 200
}
myCube = cube(
length = 200
|> double(%),
center = [0, 0],
)