Skip to content

Commit 876f6a1

Browse files
Fix typos. Add hyphen.
1 parent a78caae commit 876f6a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

srfi-171.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ <h3 id="port-transduce">port-transduce</h3>
245245
<br />
246246
<code>(port-transduce</code> <em>xform f init reader port</em><code>)</code></p>
247247

248-
<p> Applies <code>(xform f)</code> to every value produces by <code>(reader port)</code> until
248+
<p> Applies <code>(xform f)</code> to every value produced by <code>(reader port)</code> until
249249
<code>#eof-object</code> is returned.</p>
250250

251251
<p><code>(port-transduce (tfilter odd?) rcons read (open-input-string "1 2 3 4"))</code>
@@ -401,7 +401,7 @@ <h3 id="tdelete-neighbor-dupes"><code>(tdelete-neighbour-dupes <em>[equality-pre
401401
<h3 id="tremove-duplicates"><code>(tdelete-duplicates <em>[equality-predicate]</em>)</code></h3>
402402
<p>Returns a transducer that removes any subsequent duplicate elements compared using
403403
<em>equality-predicate</em>. If the underlying data structure used for detecting duplicates
404-
can't handle arbitrar equality predicates, it should at least support
404+
can't handle arbitrary equality predicates, it should at least support
405405
<code>eq?</code>, <code>eqv?</code> and <code>equal?</code>. The default <em>equality-predicate</em>
406406
is <code>equal?</code>.</p>
407407

@@ -508,8 +508,8 @@ <h1 id="sample-implementation">Sample implementation</h1>
508508
<p> The sample implementation is written in Guile, but should be
509509
straightforward to port since it uses no guile-specific features
510510
apart from guile's hash-table implementation. In fact, I am quite
511-
certain that It is written for clarity instead of speed, but should
512-
be plenty fast anyway. The low hanging fruit for optimization is to
511+
certain that it is written for clarity instead of speed, but should
512+
be plenty fast anyway. The low-hanging fruit for optimization is to
513513
replace the composed transducers (such as <code>tappend-map</code>
514514
and <code>tfilter-map</code>) with non-composed implementations.</p>
515515

0 commit comments

Comments
 (0)