GNU bug report logs - #57145
[PATCH] Add xcons example

Previous Next

Package: guile;

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

Date: Thu, 11 Aug 2022 22:05:01 UTC

Severity: normal

Tags: patch

Full log


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

From: jgart <jgart <at> dismail.de>
To: bug-guile <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] Add xcons example
Date: Thu, 11 Aug 2022 17:03:45 -0500
---
 doc/ref/srfi-modules.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi
index bce5b4eac..22a6f9844 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -262,6 +262,10 @@ Like @code{cons}, but with interchanged arguments.  Useful mostly when
 passed to higher-order procedures.
 @end deffn
 
+@example
+(xcons '(u i x) 'g) @result{} (g u i x)
+@end example
+
 @deffn {Scheme Procedure} list-tabulate n init-proc
 Return an @var{n}-element list, where each list element is produced by
 applying the procedure @var{init-proc} to the corresponding list
-- 
2.37.1





This bug report was last modified 2 years and 307 days ago.

Previous Next


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