diff options
author | Eduardo Julian | 2022-08-22 20:45:33 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-08-22 20:45:33 -0400 |
commit | 9671484b6cb3f3c56d6a3053a4a55b4634c14a89 (patch) | |
tree | 565634861f857f9fb2ea191c627554303333e53e /documentation/book | |
parent | c00d94fa5c9e6b3b8d25f49d0f2d341ff61fa35b (diff) |
Added support for the agent model.
Diffstat (limited to 'documentation/book')
-rw-r--r-- | documentation/book/the_lux_programming_language/appendix_a.md | 2 | ||||
-rw-r--r-- | documentation/book/the_lux_programming_language/appendix_c.md | 2 |
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))) ``` |