diff options
Diffstat (limited to 'documentation/book/the_lux_programming_language')
-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))) ``` |