... 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 /.tag)
        ($.definition /.root)

        ($.definition (/.Tree @ tag value)
          "A finger tree.")

        ($.definition (/.Builder @ tag)
          "A builder for finter tree structures.")

        ($.definition /.builder
          "A new builder using the given monoid."
          ($.example (' (builder monoid))))

        ($.definition /.value
          ""
          ($.example (' (value tree))))

        ($.definition /.tags
          ""
          ($.example (' (tags tree))))

        ($.definition /.values
          ""
          ($.example (' (values tree))))

        ($.definition /.one
          "Finds one value that meets the predicate."
          ($.example (' (one predicate tree))))

        ($.definition /.exists?
          "Verifies that a value exists which meets the predicate."
          ($.example (' (exists? predicate tree))))
        ))
