Skip to content

Commit a97ae59

Browse files
authored
Update day18.md
1 parent f7a71fa commit a97ae59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/day18.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ of this limitation!
132132
(calculate operations)))))
133133
```
134134

135-
At this point, we've handled parentheses and identity, so it's time to handle addition and
136-
subtraction. Let's make a little function called `simple-math` that takes in a vector and
135+
At this point, we've handled parentheses and single element vectors, so it's time to handle addition and
136+
multiplication. Let's make a little function called `simple-math` that takes in a vector and
137137
the index of the operation, and it returns a reduced vector having applied the operation
138138
to the values on either side. Nothing fancy here.
139139

0 commit comments

Comments
 (0)