@@ -245,7 +245,7 @@ <h3 id="port-transduce">port-transduce</h3>
245
245
< br />
246
246
< code > (port-transduce</ code > < em > xform f init reader port</ em > < code > )</ code > </ p >
247
247
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
249
249
< code > #eof-object</ code > is returned.</ p >
250
250
251
251
< 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
401
401
< h3 id ="tremove-duplicates "> < code > (tdelete-duplicates < em > [equality-predicate]</ em > )</ code > </ h3 >
402
402
< p > Returns a transducer that removes any subsequent duplicate elements compared using
403
403
< 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
405
405
< code > eq?</ code > , < code > eqv?</ code > and < code > equal?</ code > . The default < em > equality-predicate</ em >
406
406
is < code > equal?</ code > .</ p >
407
407
@@ -508,8 +508,8 @@ <h1 id="sample-implementation">Sample implementation</h1>
508
508
< p > The sample implementation is written in Guile, but should be
509
509
straightforward to port since it uses no guile-specific features
510
510
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
513
513
replace the composed transducers (such as < code > tappend-map</ code >
514
514
and < code > tfilter-map</ code > ) with non-composed implementations.</ p >
515
515
0 commit comments