aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/meta/type/unit.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/meta/type/unit.lux')
-rw-r--r--stdlib/source/documentation/lux/meta/type/unit.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/documentation/lux/meta/type/unit.lux b/stdlib/source/documentation/lux/meta/type/unit.lux
index 606184c7a..67157d892 100644
--- a/stdlib/source/documentation/lux/meta/type/unit.lux
+++ b/stdlib/source/documentation/lux/meta/type/unit.lux
@@ -54,15 +54,15 @@
($.definition /.unit
(format "Define a unit of measurement."
\n "Both the name of the type, and the name of the Unit implementation must be specified.")
- [(def feet (unit []))])
+ ($.example (def feet (unit []))))
... ($.definition /.scale
... "Define a scale of magnitude."
- ... [(def bajillion (scale [1 1,234,567,890]))])
+ ... ($.example (def bajillion (scale [1 1,234,567,890]))))
... ($.definition /.re_scaled
... ""
- ... [(re_scaled from to measure)])
+ ... ($.example (re_scaled from to measure)))
... (,, (with_template [<type> <scale>]
... [(`` ($.definition <scale>