aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/math/number.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/math/number.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/math/number.lux b/stdlib/source/library/lux/math/number.lux
index 59310fc99..4e1beb005 100644
--- a/stdlib/source/library/lux/math/number.lux
+++ b/stdlib/source/library/lux/math/number.lux
@@ -15,10 +15,10 @@
["[1][0]" rev]
["[1][0]" frac]])
-(def: separator
+(def separator
",")
-(def: (separator_prefixed? number)
+(def (separator_prefixed? number)
(-> Text Bit)
(case ("lux text index" 0 ..separator number)
{.#Some 0}
@@ -27,12 +27,12 @@
_
#0))
-(def: without_separators
+(def without_separators
(-> Text Text)
(text.replaced ..separator ""))
(with_template [<macro> <nat> <int> <rev> <frac> <error>]
- [(def: .public <macro>
+ [(def .public <macro>
(macro (_ tokens state)
(case tokens
{.#Item [meta {.#Text repr'}] {.#End}}