From 7249707e7c09be68dfb7507ba363efd3300a0141 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 16 Jun 2022 21:37:38 -0400 Subject: De-sigil-ification: suffix : [Part 14] --- documentation/book/the_lux_programming_language/chapter_7.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation/book/the_lux_programming_language/chapter_7.md') 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. -- cgit v1.2.3