unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#57145: [PATCH] Add xcons example
@ 2022-08-11 22:03 jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  2022-08-12  7:48 ` lloda
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2022-08-11 22:03 UTC (permalink / raw)
  To: 57145; +Cc: jgart

---
 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






^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#57145: [PATCH] Add xcons example
  2022-08-11 22:03 bug#57145: [PATCH] Add xcons example jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language
@ 2022-08-12  7:48 ` lloda
  2022-08-12 13:15   ` jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  0 siblings, 1 reply; 3+ messages in thread
From: lloda @ 2022-08-12  7:48 UTC (permalink / raw)
  To: jgart, 57145


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
> 
> 
> 
> 






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57145: [PATCH] Add xcons example
  2022-08-12  7:48 ` lloda
@ 2022-08-12 13:15   ` jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  0 siblings, 0 replies; 3+ messages in thread
From: jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2022-08-12 13:15 UTC (permalink / raw)
  To: lloda; +Cc: 57145

On Fri, 12 Aug 2022 09:48:13 +0200 lloda <lloda@sarc.name> wrote:
> 
> Hi jgart,
> 
> looks good, but could you do a patch for several of these at once?

Sure, give me a few weeks and I'll send a bigger patch with more.

Thanks for reviewing.

BTW, I don't think the xcons example I sent is a good one.

Do you happen to know how schemers would use it in the context of a hof?

The manual mentions that it would be useful in the context of a hof but doesn't show an example :(

all best,

jgart

https://whereis.みんな/





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-12 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 22:03 bug#57145: [PATCH] Add xcons example jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2022-08-12  7:48 ` lloda
2022-08-12 13:15   ` jgart via Bug reports for GUILE, GNU's Ubiquitous Extension Language

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).