GNU bug report logs - #57098
[PATCH] doc: Add car+cdr example

Previous Next

Package: guile;

Reported by: jgart <jgart <at> dismail.de>

Date: Wed, 10 Aug 2022 02:45:01 UTC

Severity: normal

Tags: patch

Done: lloda <lloda <at> sarc.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: jgart <jgart <at> dismail.de>
Subject: bug#57098: closed (patch)
Date: Thu, 11 Aug 2022 16:03:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#57098: [PATCH] doc: Add car+cdr example

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 57098 <at> debbugs.gnu.org.

-- 
57098: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57098
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: lloda <lloda <at> sarc.name>
To: 57098-done <at> debbugs.gnu.org
Subject: patch
Date: Thu, 11 Aug 2022 18:02:14 +0200
Applied in c746586de3a1bee77185a414971b48f52de2547b. Thanks!

[Message part 3 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: bug-guile <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] doc: Add car+cdr example
Date: Tue,  9 Aug 2022 21:44:02 -0500
---
 doc/ref/srfi-modules.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi
index 7aeacd888..0ddd9a711 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -409,6 +409,13 @@ These are synonyms for @code{car}, @code{cadr}, @code{caddr}, @dots{}.
 Return two values, the @sc{car} and the @sc{cdr} of @var{pair}.
 @end deffn
 
+@lisp
+(car+cdr '(0 1 2 3))
+@result{}
+0
+(1 2 3)
+@end lisp
+
 @deffn {Scheme Procedure} take lst i
 @deffnx {Scheme Procedure} take! lst i
 Return a list containing the first @var{i} elements of @var{lst}.
-- 
2.37.1




This bug report was last modified 3 years and 11 days ago.

Previous Next


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