aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/bit.lux
blob: 4ae895893345127d9a17e64381c087d3eec9af23 (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
(.using
  [library
   [lux "*"
    ["$" documentation {"+" documentation:}]
    [data
     [text {"+" \n}
      ["%" format {"+" format}]]]
    [macro
     ["[0]" template]]]]
  [\\library
   ["[0]" /]])

(documentation: /.complement
  (format "Generates the complement of a predicate."
          \n "That is a predicate that returns the oposite of the original predicate."))

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [..complement
             ($.default /.no)
             ($.default /.yes)
             ($.default /.off)
             ($.default /.on)
             ($.default /.equivalence)
             ($.default /.hash)
             ($.default /.disjunction)
             ($.default /.conjunction)
             ($.default /.codec)]
            []))