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

(.def .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [($.definition /.and)

             ($.definition (/.Monoid it)
               (format "A way to compose values."
                       \n "Includes an identity value which does not alter any other value when combined with."))]
            []))