summaryrefslogtreecommitdiffstats
path: root/srfi-228.html
diff options
context:
space:
mode:
authorGravatar Arthur A. Gleckler 2022-12-09 10:13:46 -0800
committerGravatar GitHub 2022-12-09 10:13:46 -0800
commit84d0fcc9e4ccf61ad4224fb3ebfc234c2d2cb994 (patch)
tree07e04fa3e534a0dabc6eff2050d787fa1ed75e93 /srfi-228.html
parentMerge pull request #4 from dpk/master (diff)
parentMore extensive warning about the appropriateness of the name product (diff)
Merge pull request #5 from dpk/master
More extensive warning about the appropriateness of the name product
Diffstat (limited to 'srfi-228.html')
-rw-r--r--srfi-228.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/srfi-228.html b/srfi-228.html
index b407ae6..ba3074d 100644
--- a/srfi-228.html
+++ b/srfi-228.html
@@ -78,7 +78,7 @@
</ul>
<p>If the ordering predicate or the hash function of any of the given comparators does not exist, the corresponding procedure in the product comparator will also not exist.</p>
<p>If there are no <var>comparator</var>s given, this procedure returns the <code>comparator-one</code>, or a new comparator with identical behaviour to it.</p>
- <p><i>Note:</i> Despite the name, this procedure actually creates comparators which are more general than a comparator over a product type, because each of the given <var>comparator</var>s has its own type test.</p>
+ <p><i>Note:</i> This procedure actually creates comparators which are more general than a comparator over a product type – for example, because each <var>comparator</var> has its own type test, it can be used to combine a comparator for one type with that of a subtype; or if more than one <var>comparator</var> looks at the same component of a type. However, in most cases it is expected that this procedure will be used together with <code>make-wrapper-comparator</code> to create comparators over record types i.e. product types, hence the name.</p>
<dt><code>(make-sum-comparator</code> <var>comparator</var> ... <code>)</code> (Procedure)
<dd>