mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
bug#68507: [PATCH] doc: Fix example in list-transduce example.
While the `.' might be correct from a grammatical point of view (I do not know), it turns the example into invalid scheme code, which is not ideal. New users (like me) might try to copy the whole line and wonder why it does not work (like I did). So delete it. * doc/ref/srfi-modules.texi (SRFI-171 General Discussion): Delete the trailing . from the example. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
65c054fe56
commit
2556b9a216
1 changed files with 1 additions and 1 deletions
|
@ -5748,7 +5748,7 @@ reducer with result-so-far and the maybe-transformed input.
|
||||||
A simple example is as following:
|
A simple example is as following:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
(list-transduce (tfilter odd?) + '(1 2 3 4 5)).
|
(list-transduce (tfilter odd?) + '(1 2 3 4 5))
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
This first returns a transducer filtering all odd
|
This first returns a transducer filtering all odd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue