aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/format.lux
blob: b1aaea3b6bb6e39429dae0a2b89a4558c69b0a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(.require
 [library
  [lux (.except)
   ["$" documentation]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]
    [collection
     ["[0]" list]]]]]
 ["[0]" /
  ["[1][0]" json]
  ["[1][0]" tar]
  ["[1][0]" xml]])

(def .public documentation
  (List $.Documentation)
  (list.together
   (list /json.documentation
         /tar.documentation
         /xml.documentation
         )))