aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/world/locale.lux
blob: 1818dcfb252dac879c516be1f729cc913d596590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(.require
 [library
  [lux (.except char)
   ["$" documentation]
   [data
    [text
     ["%" \\format (.only format)]]
    [collection
     ["[0]" list]]]]]
 ["[0]" /
  ["[1][0]" language]
  ["[1][0]" territory]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [($.default /.code)
             ($.default /.hash)
             ($.default /.equivalence)

             ($.definition /.Locale
               "A description of a locale; with territory, (optional) language, and (optional) text-encoding.")

             ($.definition /.locale
               ""
               [(locale language territory encoding)])]
            [/language.documentation
             /territory.documentation]))