aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/type/unit/scale.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-06-15 23:13:48 -0400
committerEduardo Julian2022-06-15 23:13:48 -0400
commitf92c806ee8da63f04bbefbf558f6249bacdb47ea (patch)
treef0ff0c93cfcf68bded11c9676b65232f30032628 /stdlib/source/library/lux/type/unit/scale.lux
parent24986506e8beb5074f6aca048506389e90e196bd (diff)
Better syntax for the "sharing" and "by_example" macros.
Diffstat (limited to 'stdlib/source/library/lux/type/unit/scale.lux')
-rw-r--r--stdlib/source/library/lux/type/unit/scale.lux5
1 files changed, 2 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/type/unit/scale.lux b/stdlib/source/library/lux/type/unit/scale.lux
index 3a956baf0..fe2d020bf 100644
--- a/stdlib/source/library/lux/type/unit/scale.lux
+++ b/stdlib/source/library/lux/type/unit/scale.lux
@@ -53,9 +53,8 @@
(syntax (_ [it <code>.any])
(macro.with_symbols [g!a]
(in (list (` ((~! ///.by_example) [(~ g!a)]
- (..Scale (~ g!a))
- (~ it)
-
+ (is (..Scale (~ g!a))
+ (~ it))
(~ g!a))))))))
(with_template [<order_of_magnitude> <up> <up_type> <down> <down_type>]