aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/control/thread.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/documentation/lux/control/thread.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/documentation/lux/control/thread.lux b/stdlib/source/documentation/lux/control/thread.lux
index 46f716a46..ba02996f6 100644
--- a/stdlib/source/documentation/lux/control/thread.lux
+++ b/stdlib/source/documentation/lux/control/thread.lux
@@ -25,24 +25,24 @@
($.definition /.box
"A brand-new box initialized to the given value."
- [(box init)])
+ ($.example (box init)))
($.definition /.read!
"Reads the current value in the box."
- [(read! box)])
+ ($.example (read! box)))
($.definition /.write!
"Mutates the value in the box."
- [(write! value box)])
+ ($.example (write! value box)))
($.definition /.result
"Executes the imperative thread in a self-contained way."
- [(result thread)])
+ ($.example (result thread)))
($.definition /.io
"Transforms the imperative thread into an I/O computation.")
($.definition /.update!
"Update a box's value by applying a function to it."
- [(update! f box)])
+ ($.example (update! f box)))
))