diff options
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r-- | stdlib/source/documentation/lux/type/unit.lux | 13 |
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 |