[Top][All Lists]

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

[Guile-commits] branch main updated: doc: Add car+cdr example

From: Daniel Llorens
Subject: [Guile-commits] branch main updated: doc: Add car+cdr example
Date: Thu, 11 Aug 2022 07:33:26 -0400

This is an automated email from the git hooks/post-receive script.

lloda pushed a commit to branch main
in repository guile.

The following commit(s) were added to refs/heads/main by this push:
     new c746586de doc: Add car+cdr example
c746586de is described below

commit c746586de3a1bee77185a414971b48f52de2547b
Author: jgart <>
AuthorDate: Tue Aug 9 21:44:02 2022 -0500

    doc: Add car+cdr example
 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 8ff42d82a..bce5b4eac 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -405,6 +405,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
+(car+cdr '(0 1 2 3))
+(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}.

reply via email to

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