diff options
| author | 2021-08-30 17:11:57 -0700 | |
|---|---|---|
| committer | 2021-08-30 17:11:57 -0700 | |
| commit | c1e94842fab0c77bc4ce1d0e09e68c13309a111f (patch) | |
| tree | 29290144710b6d85e9072f842b55e9a58716a963 | |
| parent | Link to the sample implementation. (diff) | |
Fix errors reported by W3C HTML Validator.
| -rw-r--r-- | srfi-228.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/srfi-228.html b/srfi-228.html index 8af06ef..d71ba73 100644 --- a/srfi-228.html +++ b/srfi-228.html @@ -48,9 +48,9 @@ <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 <covarde>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>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> - <dt><code>(compose-comparator</code> <var>type-test</var> <code>(</code><var>unwrap</var> <var>comparator</var><code>)</code> ...)</code> (Syntax) + <dt><code>(compose-comparator</code> <var>type-test</var> <code>(</code><var>unwrap</var> <var>comparator</var><code>) ...)</code> (Syntax) <dd> <p>Expands to a form which returns a comparator which compares values satisfying the given predicate <code>type-test</code> by running in turn, left to right, wrapper comparators made out of the given <code>unwrap</code> and <code>comparator</code>, according to the rules for <code>make-composed-comparator</code>. <code>comparator</code> may be omitted from each form, in which case the SRFI 128 default comparator is used.</p> <p>This is equivalent to using the procedural forms <code>make-composed-comparator</code> and <code>make-wrapper-comparator</code> together.</p> |
