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

(documentation: /.Monoid
  (format "A way to compose values."
          \n "Includes an identity value which does not alter any other value when combined with."))

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