diff options
author | Eduardo Julian | 2022-06-16 21:37:38 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-16 21:37:38 -0400 |
commit | 7249707e7c09be68dfb7507ba363efd3300a0141 (patch) | |
tree | 1fb4764458da16353315ea7e267f997c9be70f49 /documentation/book/the_lux_programming_language/chapter_7.md | |
parent | e00e0b5f1e5fb509cf8f32424397110f524b8148 (diff) |
De-sigil-ification: suffix : [Part 14]
Diffstat (limited to 'documentation/book/the_lux_programming_language/chapter_7.md')
-rw-r--r-- | documentation/book/the_lux_programming_language/chapter_7.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/book/the_lux_programming_language/chapter_7.md b/documentation/book/the_lux_programming_language/chapter_7.md index 53bc97890..5c828585d 100644 --- a/documentation/book/the_lux_programming_language/chapter_7.md +++ b/documentation/book/the_lux_programming_language/chapter_7.md @@ -155,7 +155,7 @@ We've put functions and values inside our implementations. It's time to get them out and use them. -There are 2 main ways to use the stuff inside your implementations: `open:` and `#`. +There are 2 main ways to use the stuff inside your implementations: `use` and `#`. Let's check them out. @@ -170,11 +170,11 @@ Let's check them out. (def .private i::< (# library/lux/math/number/int.order <)) ``` -The `open:` macro serves as a directive that creates private/un-exported definitions in your module for every member of a particular implementation. +The `use` macro serves as a directive that creates private/un-exported definitions in your module for every member of a particular implementation. You may also give it an optional _aliasing pattern_ for the definitions, in case you want to avoid any name clash. - You might want to check out [Appendix C](appendix_c.md) to discover a pattern-matching macro version of `open:` called `^open`. + You might want to check out [Appendix C](appendix_c.md) to discover a pattern-matching macro version of `use` called `^open`. ```clojure ... Allows accessing the value of a implementation's member. |