diff options
author | Eduardo Julian | 2022-08-14 21:02:22 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-08-14 21:02:22 -0400 |
commit | 0f9bc13a34b729d9ae9db31276feb2a66785d06b (patch) | |
tree | 25f8ec214bfe56f7dc7d8be637b06d1ab6a425f6 /documentation/book/the_lux_programming_language/chapter_9.md | |
parent | 24e4ccef052816f17ccfc55f2e515a07cc9c2067 (diff) |
Documentation changes for v0.7.0
Diffstat (limited to 'documentation/book/the_lux_programming_language/chapter_9.md')
-rw-r--r-- | documentation/book/the_lux_programming_language/chapter_9.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/book/the_lux_programming_language/chapter_9.md b/documentation/book/the_lux_programming_language/chapter_9.md index a01740f09..175ad8486 100644 --- a/documentation/book/the_lux_programming_language/chapter_9.md +++ b/documentation/book/the_lux_programming_language/chapter_9.md @@ -25,7 +25,7 @@ But the Lux compiler opens itself for usage within Lux programs and provides Lux The `Lux` type enters the stage. ```clojure -(type: .public Lux +(type .public Lux (Rec Lux (Record [#info Info @@ -60,7 +60,7 @@ You can actually write computations that can read and even modify (_careful with This turns out to be massively useful when implementing a variety of powerful macros. -For example, remember the `use` and `#` macros from [chapter 7](chapter_7.md)? +For example, remember the `use` and `at` macros from [chapter 7](chapter_7.md)? They actually look up the typing information for the structures you give them to figure out the names of members and generate the code necessary to get that functionality going. @@ -81,7 +81,7 @@ I won't go into detail about what's available, but you'll quickly get an idea of However, one thing I _will_ say is that those functions rely heavily on the `Meta` type, which is defined thusly: ```clojure -(type: .public (Meta a) +(type .public (Meta a) (-> Lux (Either Text [Lux a]))) ``` |