aboutsummaryrefslogtreecommitdiff
path: root/documentation/book/the_lux_programming_language
diff options
context:
space:
mode:
authorEduardo Julian2022-08-22 20:45:33 -0400
committerEduardo Julian2022-08-22 20:45:33 -0400
commit9671484b6cb3f3c56d6a3053a4a55b4634c14a89 (patch)
tree565634861f857f9fb2ea191c627554303333e53e /documentation/book/the_lux_programming_language
parentc00d94fa5c9e6b3b8d25f49d0f2d341ff61fa35b (diff)
Added support for the agent model.
Diffstat (limited to 'documentation/book/the_lux_programming_language')
-rw-r--r--documentation/book/the_lux_programming_language/appendix_a.md2
-rw-r--r--documentation/book/the_lux_programming_language/appendix_c.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/book/the_lux_programming_language/appendix_a.md b/documentation/book/the_lux_programming_language/appendix_a.md
index d0b4fe8b1..4b77e10df 100644
--- a/documentation/book/the_lux_programming_language/appendix_a.md
+++ b/documentation/book/the_lux_programming_language/appendix_a.md
@@ -16,7 +16,7 @@ If you recall [Chapter 1](chapter_1.md), there was this example code:
Here, we're importing the `library/lux` module.
-The `(.except)` option means _locally import every definition exported by the `library/lux` module_.
+The `(.except)` option means _locally_ import every definition exported by the `library/lux` module.
This allows usage of those definitions without having to give them the `library/lux.` prefix, or even the `.` shortcut prefix.
diff --git a/documentation/book/the_lux_programming_language/appendix_c.md b/documentation/book/the_lux_programming_language/appendix_c.md
index 5bfb731ea..0ca109331 100644
--- a/documentation/book/the_lux_programming_language/appendix_c.md
+++ b/documentation/book/the_lux_programming_language/appendix_c.md
@@ -66,7 +66,7 @@ The possibilities are endless when it comes to the refinement you can do, and wh
... Allows you to simultaneously bind and de-structure a value.
(def (hash (^.let set [element_hash _]))
(list#mix (function (_ elem acc)
- (n.+ (# element_hash hash elem) acc))
+ (n.+ (at element_hash hash elem) acc))
0
(set.list set)))
```