[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57145: [PATCH] Add xcons example
From: |
lloda |
Subject: |
bug#57145: [PATCH] Add xcons example |
Date: |
Fri, 12 Aug 2022 09:48:13 +0200 |
Hi jgart,
looks good, but could you do a patch for several of these at once?
regards
Daniel
> On 12 Aug 2022, at 00:03, jgart via Bug reports for GUILE, GNU's Ubiquitous
> Extension Language <bug-guile@gnu.org> wrote:
>
> ---
> 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
>
>
>
>