aboutsummaryrefslogtreecommitdiff
path: root/documentation/book/the_lux_programming_language/chapter_8.md
diff options
context:
space:
mode:
authorEduardo Julian2022-06-16 21:37:38 -0400
committerEduardo Julian2022-06-16 21:37:38 -0400
commit7249707e7c09be68dfb7507ba363efd3300a0141 (patch)
tree1fb4764458da16353315ea7e267f997c9be70f49 /documentation/book/the_lux_programming_language/chapter_8.md
parente00e0b5f1e5fb509cf8f32424397110f524b8148 (diff)
De-sigil-ification: suffix : [Part 14]
Diffstat (limited to 'documentation/book/the_lux_programming_language/chapter_8.md')
-rw-r--r--documentation/book/the_lux_programming_language/chapter_8.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/book/the_lux_programming_language/chapter_8.md b/documentation/book/the_lux_programming_language/chapter_8.md
index 8c262b355..2759ad62d 100644
--- a/documentation/book/the_lux_programming_language/chapter_8.md
+++ b/documentation/book/the_lux_programming_language/chapter_8.md
@@ -209,14 +209,14 @@ The thing about `Monad` is that, with it, you can use `each` functions that also
Let's see that in action:
```clojure
-(.using
+(.require
[library
[lux "*"
[data
[collection
["[0]" list]]]]])
-(open: list.monad)
+(use list.monad)
(def foo
(|> (list 1 2 3 4)
@@ -268,7 +268,7 @@ Not really. It's just the `Monad` for `List`:
{.#Item x xs'}
{.#Item x (compose xs' ys)})))
-(open: "[0]" ..monoid)
+(use "[0]" ..monoid)
(implementation: .public monad
(Monad List)
@@ -300,7 +300,7 @@ Time for the VIP treatment.
These macros always show up at the right time to saves us from our hurdles!
```clojure
-(.using
+(.require
[library
[lux "*"
[data