emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68507: closed ([PATCH] doc: Fix example in list-transduce example.)


From: GNU bug Tracking System
Subject: bug#68507: closed ([PATCH] doc: Fix example in list-transduce example.)
Date: Wed, 24 Jan 2024 10:15:01 +0000

Your message dated Wed, 24 Jan 2024 11:14:23 +0100
with message-id <87wmrzujgg.fsf@gnu.org>
and subject line Re: bug#68507: [PATCH] doc: Fix example in list-transduce 
example.
has caused the debbugs.gnu.org bug report #68507,
regarding [PATCH] doc: Fix example in list-transduce example.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68507: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68507
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] doc: Fix example in list-transduce example. Date: Tue, 16 Jan 2024 14:01:06 +0100
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.
---
 doc/ref/srfi-modules.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi
index 0cdf56923..09b591e89 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -5748,7 +5748,7 @@ reducer with result-so-far and the maybe-transformed 
input.
 A simple example is as following:
 
 @example
-(list-transduce (tfilter odd?) + '(1 2 3 4 5)).
+(list-transduce (tfilter odd?) + '(1 2 3 4 5))
 @end example
 
 This first returns a transducer filtering all odd
-- 
2.41.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#68507: [PATCH] doc: Fix example in list-transduce example. Date: Wed, 24 Jan 2024 11:14:23 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Hi,

Tomas Volf <~@wolfsden.cz> skribis:

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

Applied, thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]