diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/locale/language.lux | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/library/lux/locale/language.lux b/stdlib/source/library/lux/locale/language.lux index 4933a97a6..cf6b38e99 100644 --- a/stdlib/source/library/lux/locale/language.lux +++ b/stdlib/source/library/lux/locale/language.lux @@ -12,14 +12,14 @@ ["." template]]]]) ## https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes -(abstract: #export Language +(abstract: .public Language + {#.doc (doc "An ISO 639 language.")} + {#name Text #code Text} - {#.doc (doc "An ISO 639 language.")} - (template [<name> <tag>] - [(def: #export <name> + [(def: .public <name> (-> Language Text) (|>> :representation (get@ <tag>)))] @@ -30,12 +30,12 @@ (template [<bundle>] [(with_expansions [<bundle>' (template.spliced <bundle>)] (template [<code> <name> <definition> <alias>+] - [(def: #export <definition> + [(def: .public <definition> Language (:abstraction {#name <name> #code <code>})) (`` (template [<alias>] - [(def: #export <alias> + [(def: .public <alias> Language <definition>)] @@ -557,13 +557,13 @@ ["zun" "Zuni" zuni []] ["zza" "Zaza; Dimili; Dimli; Kirdki; Kirmanjki; Zazaki" zaza [[dimili] [dimli] [kirdki] [kirmanjki] [zazaki]]]]]) - (implementation: #export equivalence + (implementation: .public equivalence (Equivalence Language) (def: (= reference sample) (is? reference sample))) - (implementation: #export hash + (implementation: .public hash (Hash Language) (def: &equivalence |