diff options
| author | 2022-10-22 10:00:33 -0700 | |
|---|---|---|
| committer | 2022-10-22 10:00:33 -0700 | |
| commit | 5368bab7f1170dc30b072a3f469cbc75429b4664 (patch) | |
| tree | 7b7a1c40f2e6bd4e1e72e5f7c18dbb9aa6b59bb8 | |
| parent | Merge pull request #2 from dpk/master (diff) | |
copy edit
| -rw-r--r-- | srfi-228.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srfi-228.html b/srfi-228.html index 280fc14..6e07d7d 100644 --- a/srfi-228.html +++ b/srfi-228.html @@ -137,7 +137,7 @@ <p>The author hopes that a future SRFI will add a procedure for creating comparators yielding lexicographical order over any sequence type by delegating to a common iteration protocol. An idea to do this using <code>fold</code> procedures foundered on two grounds: the first and more intrinsic one is that <code>fold</code> called on two sequences, one of which is a prefix of the other, cannot determine which of the two is longer, and a sort using <code>fold</code>-based iteration would incorrectly consider them equal; the second is that there is currently an inconsistency among Scheme libraries in what order the <var>kons</var> procedure argument to <code>fold</code> receives the accumulator and the next values in the sequence (compare <a href="https://srfi.schemers.org/srfi-1/srfi-1.html#fold">SRFI 1 <code>fold</code></a> with <a href="https://srfi.schemers.org/srfi-133/srfi-133.html#vector-fold">SRFI 133 <code>vector-fold</code></a>). <a href="https://srfi.schemers.org/srfi-158/srfi-158.html">SRFI 158</a> generators were rejected on the ground that their sequences cannot contain any arbitrary Scheme datum. -<p>Earlier drafts of this SRFI contained a procedure to convert a SRFI 128 comparator into a set of Scheme comparison procedures. This was dropped because an satisfactory interface, with sufficient efficiency and usability, could not be found. Thanks are due nonetheless to John Cowan and Marc Nieper-Wißkirchen for their suggestions to resolve this issue. Likewise, it is hoped that a future SRFI will respond to this need. +<p>Earlier drafts of this SRFI contained a procedure to convert a SRFI 128 comparator into a set of Scheme comparison procedures. This was dropped because a satisfactory interface, with sufficient efficiency and usability, could not be found. Thanks are due nonetheless to John Cowan and Marc Nieper-Wißkirchen for their suggestions to resolve this issue. Likewise, it is hoped that a future SRFI will respond to this need. <h2 id="copyright">Copyright</h2> <p>© 2021 Daphne Preston-Kendal.</p> |
