Skip to content

Commit 1558955

Browse files
committed
Code review from Graphite
1 parent e50f6b0 commit 1558955

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kcl-book/src/modules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn sphere() {
6363
|> revolve(axis = Y)
6464
}
6565
66-
map([1..20], f = fn(@i) { return sphere() |> translate(y = i * 20) }
66+
map([1..10], f = fn(@i) { return sphere() |> translate(y = i * 20) })
6767
```
6868

6969
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)
118118

119119
Now in `main.kcl` we can access `mySpecificCube`, and translate or rotate it. We can also use the `cube` function to make more cubes.
120120

121-
```
121+
```kcl
122122
// main.kcl
123123
import mySpecificCube, cube from "cube.kcl"
124124

0 commit comments

Comments
 (0)