... This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
... If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

(.require
 [library
  [lux (.except)
   ["$" documentation]]]
 [\\library
  ["[0]" /]])

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

        ($.definition /.monoid)

        ($.definition (/.Mixin input output)
          "A partially-defined function which can be mixed with others to inherit their behavior.")

        ($.definition /.fixed
          "Given a mixin, produces a normal function."
          ($.example (' (fixed f))))

        ($.definition /.nothing
          "A mixin that does nothing and just delegates work to the next mixin.")

        ($.definition /.mixed
          "Produces a new mixin, where the behavior of the child can make use of the behavior of the parent."
          ($.example (' (mixed parent child))))

        ($.definition /.advice
          "Only apply then mixin when the input meets some criterion."
          ($.example (' (advice when then))))

        ($.definition /.before
          "Executes an action before doing the main work."
          ($.example (' (before monad action))))

        ($.definition /.after
          "Executes an action after doing the main work."
          ($.example (' (after monad action))))

        ($.definition (/.Recursive input output)
          "An indirectly recursive function.")

        ($.definition /.of_recursive
          "Transform an indirectly recursive function into a mixin."
          ($.example (' (of_recursive recursive))))
        ))
