aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/abstract/mix.lux
blob: ed30c665e70fb6236d26b306909b7dd15cf5745a (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
   ["$" documentation]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.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."
               [(with_monoid monoid mix value)])]
            []))