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

(def .public documentation
  (List $.Documentation)
  (list ($.module /._
                  "")

        ($.definition (/.Mix structure)
          "Iterate over a structure's values to build a summary value.")

        ($.definition /.with_monoid
          "Mix a mixable structure using the monoid's identity as the initial value."
          ($.example (with_monoid monoid mix value)))))