aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux.lux')
-rw-r--r--stdlib/source/documentation/lux.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux
index 07e6a2dc2..13b7e6d8a 100644
--- a/stdlib/source/documentation/lux.lux
+++ b/stdlib/source/documentation/lux.lux
@@ -561,8 +561,8 @@
"Opens a implementation and generates a definition for each of its members (including nested members)."
($.example (use "i:[0]" order))
($.comment "=>")
- ($.example (def i:= (at order =)))
- ($.example (def i:< (at order <))))
+ ($.example (def i:= (of order =)))
+ ($.example (def i:< (of order <))))
($.definition /.|>>
"Similar to the piping macro, but rather than taking an initial object to work on, creates a function for taking it."
@@ -603,10 +603,10 @@
($.definition /.at
"Allows accessing the value of a implementation's member."
- ($.example (at codec encoded))
+ ($.example (of codec encoded))
($.comment "Also allows using that value as a function.")
- ($.example (at codec encoded +123)))
+ ($.example (of codec encoded +123)))
($.definition /.has
"Sets the value of a record at a given tag."
@@ -706,7 +706,7 @@
[<tests> (with_template [<function> <parameter> <expected>]
[(cover [<function>]
(compare <text>
- (at codec encoded <function> <parameter>)))]
+ (of codec encoded <function> <parameter>)))]
[bit #1 "#1"]
[int +123 "+123"]
@@ -797,7 +797,7 @@
... ($.example (def (hash (^let set [member_hash _]))
... (list#mix (function (_ elem acc)
... (+ acc
- ... (at member_hash hash elem)))
+ ... (of member_hash hash elem)))
... 0
... (set.list set)))))