aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/locale
diff options
context:
space:
mode:
authorEduardo Julian2022-03-14 03:33:01 -0400
committerEduardo Julian2022-03-14 03:33:01 -0400
commit93eb82e1bf6d2f2a6b3b0adb85f4ab93cbb766a9 (patch)
tree9301db84130bb3714d57db1196e80e7325b7f880 /stdlib/source/library/lux/locale
parentb8681fd206d5b5076b9737ee54f0cb0405a898d6 (diff)
De-sigil-ification: @
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/locale/language.lux24
-rw-r--r--stdlib/source/library/lux/locale/territory.lux26
2 files changed, 25 insertions, 25 deletions
diff --git a/stdlib/source/library/lux/locale/language.lux b/stdlib/source/library/lux/locale/language.lux
index 6074d9dde..50604e065 100644
--- a/stdlib/source/library/lux/locale/language.lux
+++ b/stdlib/source/library/lux/locale/language.lux
@@ -1,15 +1,15 @@
(.using
- [library
- [lux "*"
- [abstract
- [equivalence {"+" Equivalence}]
- [hash {"+" Hash}]]
- [data
- ["[0]" text]]
- [type
- abstract]
- [macro
- ["[0]" template]]]])
+ [library
+ [lux "*"
+ [abstract
+ [equivalence {"+" Equivalence}]
+ [hash {"+" Hash}]]
+ [data
+ ["[0]" text]]
+ [type
+ abstract]
+ [macro
+ ["[0]" template]]]])
... https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
(abstract: .public Language
@@ -20,7 +20,7 @@
(template [<name> <tag>]
[(def: .public <name>
(-> Language Text)
- (|>> :representation (value@ <tag>)))]
+ (|>> :representation (the <tag>)))]
[name #name]
[code #code]
diff --git a/stdlib/source/library/lux/locale/territory.lux b/stdlib/source/library/lux/locale/territory.lux
index 14a1df61a..8df6f861d 100644
--- a/stdlib/source/library/lux/locale/territory.lux
+++ b/stdlib/source/library/lux/locale/territory.lux
@@ -1,15 +1,15 @@
(.using
- [library
- [lux "*"
- [abstract
- [equivalence {"+" Equivalence}]
- [hash {"+" Hash}]]
- [data
- ["[0]" text]]
- [type
- abstract]
- [macro
- ["[0]" template]]]])
+ [library
+ [lux "*"
+ [abstract
+ [equivalence {"+" Equivalence}]
+ [hash {"+" Hash}]]
+ [data
+ ["[0]" text]]
+ [type
+ abstract]
+ [macro
+ ["[0]" template]]]])
... https://en.wikipedia.org/wiki/ISO_3166-1
(abstract: .public Territory
@@ -23,7 +23,7 @@
[(def: .public <name>
(-> Territory <type>)
(|>> :representation
- (value@ <field>)))]
+ (the <field>)))]
[name #name Text]
[short_code #short Text]
@@ -308,6 +308,6 @@
(def: hash
(|>> :representation
- (value@ #long)
+ (the #long)
(# text.hash hash))))
)