unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#73787: Typo in manual: Missing parentheses in SRFI-1
@ 2024-10-13 11:11 8dcc
  2024-10-13 12:59 ` bug#73787: [patch]: " Dr. Arne Babenhauserheide via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  0 siblings, 1 reply; 2+ messages in thread
From: 8dcc @ 2024-10-13 11:11 UTC (permalink / raw)
  To: 73787

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#73787: [patch]: bug#73787: Typo in manual: Missing parentheses in SRFI-1
  2024-10-13 11:11 bug#73787: Typo in manual: Missing parentheses in SRFI-1 8dcc
@ 2024-10-13 12:59 ` Dr. Arne Babenhauserheide via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Arne Babenhauserheide via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2024-10-13 12:59 UTC (permalink / raw)
  To: 8dcc; +Cc: 73787


[-- Attachment #1.1: Type: text/plain, Size: 144 bytes --]

8dcc <8dcc.git@gmail.com> writes:
>     (cons 3 '(2 1)
>
> Should be:
>
>     (cons 3 '(2 1))

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-fix-typo-in-manual-thanks-to-8dcc.patch --]
[-- Type: text/x-patch, Size: 749 bytes --]

From 206ebc461a5ecc9a44143d43daf6f1ec5c0680b6 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab@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


[-- Attachment #1.3: Type: text/plain, Size: 101 bytes --]


Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-13 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-13 11:11 bug#73787: Typo in manual: Missing parentheses in SRFI-1 8dcc
2024-10-13 12:59 ` bug#73787: [patch]: " Dr. Arne Babenhauserheide via Bug reports for GUILE, GNU's Ubiquitous Extension Language

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).