aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/locale.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/locale.lux')
-rw-r--r--stdlib/source/library/lux/locale.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/library/lux/locale.lux b/stdlib/source/library/lux/locale.lux
index 9587c8a8f..7b90f5386 100644
--- a/stdlib/source/library/lux/locale.lux
+++ b/stdlib/source/library/lux/locale.lux
@@ -19,10 +19,10 @@
(primitive .public Locale
Text
- (def: territory_separator "_")
- (def: encoding_separator ".")
+ (def territory_separator "_")
+ (def encoding_separator ".")
- (def: .public (locale language territory encoding)
+ (def .public (locale language territory encoding)
(-> Language (Maybe Territory) (Maybe Encoding) Locale)
(abstraction (format (language.code language)
(|> territory
@@ -32,15 +32,15 @@
(maybe#each (|>> encoding.name (format ..encoding_separator)))
(maybe.else "")))))
- (def: .public code
+ (def .public code
(-> Locale Text)
(|>> representation))
- (def: .public hash
+ (def .public hash
(Hash Locale)
(at hash.functor each ..code text.hash))
- (def: .public equivalence
+ (def .public equivalence
(Equivalence Locale)
(at ..hash equivalence))
)