summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arthur A. Gleckler 2021-08-31 14:48:34 -0700
committerGravatar Arthur A. Gleckler 2021-08-31 14:48:34 -0700
commit37a5e160f7d83fe0de5d7426ec70d2b008f12fd9 (patch)
tree4269ed9d82318328b89bfd4a9e9a001e3c780062
parentcopy edit (diff)
Note places where examples are needed.
-rw-r--r--srfi-228.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/srfi-228.html b/srfi-228.html
index 3f2b122..6b1c096 100644
--- a/srfi-228.html
+++ b/srfi-228.html
@@ -45,10 +45,12 @@
<dt><code>(make-wrapper-comparator</code> <var>type-test</var> <var>unwrap</var> <var>contents-comparator</var><code>)</code> (Procedure)
<dd>
<p>Returns a comparator which compares values satisfying the predicate <var>type-test</var> by first calling the given <var>unwrap</var> procedure on them, then comparing the output of that procedure with the given <var>contents-comparator</var>. The hash function of the wrapper comparator returns the same value as the <var>contents-comparator</var> run on the unwrapped value.</p>
+ <p class=issue>Add example.</p>
<dt><code>(make-wrapper-comparator</code> <var>type-test</var> <var>comparator</var> ... <code>)</code> (Procedure)
<dd>
<p>Returns a comparator which compares values satisfying the given predicate <var>type-test</var> by comparing them with each of the given comparators in turn, left to right, and returning the result of the first non-equal comparison. If all the given comparators consider two values equal, the composed comparator also considers them equal. The hash function of the composed comparator hashes together the results of all the given comparators in an implementation-defined way.</p>
+ <p class=issue>Add example.</p>
<dt><code>(compose-comparator</code> <var>type-test</var> <code>(</code><var>unwrap</var> <var>comparator</var><code>) ...)</code> (Syntax)
<dd>