diff options
Diffstat (limited to 'documentation/book/the_lux_programming_language/chapter_17.md')
-rw-r--r-- | documentation/book/the_lux_programming_language/chapter_17.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/book/the_lux_programming_language/chapter_17.md b/documentation/book/the_lux_programming_language/chapter_17.md index 73ece8cb5..e13693d89 100644 --- a/documentation/book/the_lux_programming_language/chapter_17.md +++ b/documentation/book/the_lux_programming_language/chapter_17.md @@ -100,7 +100,7 @@ And the other is meant for when the changes are so massive, you might as well ju First, let's go with the smaller mechanism: ```clojure -(def: js "JavaScript") +(def js "JavaScript") (for ["JVM" (do jvm stuff) ..js (do js stuff)] @@ -129,7 +129,7 @@ The module `library/lux/target` contains constants with the names of currently s To give you an example of `for` in action, here is a definition from the `library/lux/data/text` module: ```clojure -(def: .public (replaced pattern replacement template) +(def .public (replaced pattern replacement template) (-> Text Text Text Text) (for [@.old (:as Text |