(.require
 [library
  [lux (.except)
   ["$" documentation]
   [data
    [text
     ["%" \\format (.only format)]]
    [collection
     ["[0]" list]]]]]
 ["[0]" /
  ["[1][0]" language]
  ["[1][0]" territory]]
 [\\library
  ["[0]" /]])

(def .public documentation
  (List $.Documentation)
  (list.partial ($.module /._
                          "")

                ($.definition /.code)
                ($.definition /.hash)
                ($.definition /.equivalence)

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

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

                (list.together
                 (list /language.documentation
                       /territory.documentation))
                ))
