1
Fork 0
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:
Tomas Volf 2024-01-16 14:01:06 +01:00 committed by Ludovic Courtès
parent 65c054fe56
commit 2556b9a216
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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