aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation
diff options
context:
space:
mode:
authorEduardo Julian2022-06-15 20:12:02 -0400
committerEduardo Julian2022-06-15 20:12:02 -0400
commit38328f38b6904a884411835afa0066d0f9c503e7 (patch)
treeaa7fe821e9015e4646abb2340fe6bd54ae466898 /stdlib/source/documentation
parentbb16d7e4a3307cc9540f368cf5c354a72af8ec61 (diff)
De-sigil-ification: suffix : [Part 11]
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r--stdlib/source/documentation/lux/type/unit.lux13
1 files changed, 6 insertions, 7 deletions
diff --git a/stdlib/source/documentation/lux/type/unit.lux b/stdlib/source/documentation/lux/type/unit.lux
index 5218d140c..fd518779f 100644
--- a/stdlib/source/documentation/lux/type/unit.lux
+++ b/stdlib/source/documentation/lux/type/unit.lux
@@ -28,15 +28,14 @@
(documentation: /.Pure
"A pure, unit-less quantity.")
-(documentation: /.unit:
+(documentation: /.unit
(format "Define a unit of measurement."
\n "Both the name of the type, and the name of the Unit implementation must be specified.")
- [(unit: .public Feet feet)])
+ [(def: feet (unit []))])
-(documentation: /.scale:
+(documentation: /.scale
"Define a scale of magnitude."
- [(scale: .public Bajillion bajillion
- [1 1,234,567,890])])
+ [(def: bajillion (scale [1 1,234,567,890]))])
(documentation: /.re_scaled
""
@@ -75,8 +74,8 @@
..Unit
..Scale
..Pure
- ..unit:
- ..scale:
+ ..unit
+ ..scale
..re_scaled
..kilo
..mega