GNU bug report logs - #73787
Typo in manual: Missing parentheses in SRFI-1

Previous Next

Package: guile;

Reported by: 8dcc <8dcc.git <at> gmail.com>

Date: Sun, 13 Oct 2024 11:17:02 UTC

Severity: normal

To reply to this bug, email your comments to 73787 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#73787; Package guile. (Sun, 13 Oct 2024 11:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 8dcc <8dcc.git <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 13 Oct 2024 11:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 8dcc <8dcc.git <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Typo in manual: Missing parentheses in SRFI-1
Date: Sun, 13 Oct 2024 13:11:24 +0200
[Message part 1 (text/plain, inline)]
Hello,

In the first code block of Section 7.5.3.5 "Fold, Unfold & Map" of the
Guile Manual, the last call to `cons' is missing a parentheses:

    (cons 3 '(2 1)

Should be:

    (cons 3 '(2 1))

Thanks.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#73787; Package guile. (Sun, 13 Oct 2024 13:00:03 GMT) Full text and rfc822 format available.

Message #8 received at 73787 <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: 8dcc <8dcc.git <at> gmail.com>
Cc: 73787 <at> debbugs.gnu.org
Subject: [patch]: bug#73787: Typo in manual: Missing parentheses in SRFI-1
Date: Sun, 13 Oct 2024 14:59:21 +0200
[Message part 1 (text/plain, inline)]
8dcc <8dcc.git <at> gmail.com> writes:
>     (cons 3 '(2 1)
>
> Should be:
>
>     (cons 3 '(2 1))

Thank you for the bug report! I attached a fix:

[0001-fix-typo-in-manual-thanks-to-8dcc.patch (text/x-patch, inline)]
From 206ebc461a5ecc9a44143d43daf6f1ec5c0680b6 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Sun, 13 Oct 2024 14:57:30 +0200
Subject: [PATCH] fix typo in manual, thanks to 8dcc

* doc/ref/srfi-modules.texi (SRFI-1 Fold and Map): add missing closing paren
---
 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 02da3e2f2..6d4d233b7 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -550,7 +550,7 @@ following shows a list reversal and the calls it makes,
 
 (cons 1 '())
 (cons 2 '(1))
-(cons 3 '(2 1)
+(cons 3 '(2 1))
 @result{} (3 2 1)
 @end example
 
-- 
2.46.0

[Message part 3 (text/plain, inline)]
Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#73787; Package guile. (Sun, 20 Oct 2024 17:21:02 GMT) Full text and rfc822 format available.

Message #11 received at 73787 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
Cc: 8dcc <8dcc.git <at> gmail.com>, 73787 <at> debbugs.gnu.org
Subject: Re: bug#73787: Typo in manual: Missing parentheses in SRFI-1
Date: Sun, 20 Oct 2024 19:20:21 +0200
Hi Arne,

"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> skribis:

> From 206ebc461a5ecc9a44143d43daf6f1ec5c0680b6 Mon Sep 17 00:00:00 2001
> From: Arne Babenhauserheide <arne_bab <at> web.de>
> Date: Sun, 13 Oct 2024 14:57:30 +0200
> Subject: [PATCH] fix typo in manual, thanks to 8dcc
>
> * doc/ref/srfi-modules.texi (SRFI-1 Fold and Map): add missing closing paren

LGTM, please push.  (Nitpick: traditionally we’d add a “Reported by”
line in the commit log body, rather than in the subject line, to credit
the person who reported the issue.)

Thank you,
Ludo’.




This bug report was last modified 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.