* bug#57098: [PATCH] doc: Add car+cdr example
@ 2022-08-10 2:44 jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2022-08-11 16:02 ` bug#57098: patch lloda
0 siblings, 1 reply; 2+ messages in thread
From: jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2022-08-10 2:44 UTC (permalink / raw)
To: 57098; +Cc: jgart
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-11 16:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10 2:44 bug#57098: [PATCH] doc: Add car+cdr example jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2022-08-11 16:02 ` bug#57098: patch lloda
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).