We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e50f6b0 commit 1558955Copy full SHA for 1558955
kcl-book/src/modules.md
@@ -63,7 +63,7 @@ fn sphere() {
63
|> revolve(axis = Y)
64
}
65
66
-map([1..20], f = fn(@i) { return sphere() |> translate(y = i * 20) }
+map([1..10], f = fn(@i) { return sphere() |> translate(y = i * 20) })
67
```
68
69
To tell `main.kcl` to execute these two files, we use the `import` keyword with each file's filepath.
@@ -118,7 +118,7 @@ export mySpecificCube = cube(sideLength = 20)
118
119
Now in `main.kcl` we can access `mySpecificCube`, and translate or rotate it. We can also use the `cube` function to make more cubes.
120
121
-```
+```kcl
122
// main.kcl
123
import mySpecificCube, cube from "cube.kcl"
124
0 commit comments