[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57145: [PATCH] Add xcons example
From: |
jgart |
Subject: |
bug#57145: [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
- bug#57145: [PATCH] Add xcons example,
jgart <=