From 9671484b6cb3f3c56d6a3053a4a55b4634c14a89 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 22 Aug 2022 20:45:33 -0400 Subject: Added support for the agent model. --- documentation/book/the_lux_programming_language/appendix_a.md | 2 +- documentation/book/the_lux_programming_language/appendix_c.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'documentation/book') 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))) ``` -- cgit v1.2.3