aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/type/poly.lux
blob: ba787f87df2687806a33cebeca26daddf7515c83 (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
(.using
 [library
  [lux {"-" and}
   ["$" documentation (.only documentation:)]
   [abstract
    [\\specification
     ["$[0]" equivalence]
     ["$[0]" codec]]]
   [control
    ["<>" parser
     ["<[0]>" code]]]
   [data
    ["[0]" text (.only \n)
     ["%" format (.only format)]]]
   [macro
    ["[0]" template]]]]
 [\\library
  ["[0]" /]])

(documentation: /.code
  ""
  [(code env type)])

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [..code
             ($.default /.poly:)]
            []))