bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] Add xcons example.


From: jgart
Subject: [PATCH] Add xcons example.
Date: Wed, 15 Jun 2022 23:31:18 -0500

* doc/ref/srfi-modules.texi (SRFI-1): Add xcons example.
---
 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 2e66bafb9..7aeacd888 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.36.1




reply via email to

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