aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/math/logic/continuous.lux
blob: d526d2414b9f0a89f90bf06c0ffaacbc95cd1393 (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
(.require
 [library
  [lux (.except private)
   ["$" documentation]
   [data
    ["[0]" text (.only \n)
     ["%" \\format (.only format)]]]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.module /._
            (format "Continuous logic using Rev values."
                    \n "Continuous logic is logic in the interval [0,1] instead of just the binary #0 and #1 options."
                    \n "Because Rev is being used, the interval is actual [0,1).")
            [($.default /.false)
             ($.default /.true)
             ($.default /.or)
             ($.default /.disjunction)
             ($.default /.and)
             ($.default /.conjunction)
             ($.default /.not)
             ($.default /.=)

             ($.documentation /.implies
               ""
               [(implies consequent antecedent)])]
            []))