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

To reply to this bug, email your comments to 57145 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#57145; Package guile. (Thu, 11 Aug 2022 22:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 11 Aug 2022 22:05:01 GMT) Full text and rfc822 format available.

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





Information forwarded to bug-guile <at> gnu.org:
bug#57145; Package guile. (Fri, 12 Aug 2022 07:49:02 GMT) Full text and rfc822 format available.

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

From: lloda <lloda <at> sarc.name>
To: jgart <jgart <at> dismail.de>, "jgart via Bug reports for GUILE,
 GNU's Ubiquitous Extension Language" <bug-guile <at> gnu.org>
Cc: 57145 <at> debbugs.gnu.org
Subject: Re: 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 <at> 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
> 
> 
> 
> 





Information forwarded to bug-guile <at> gnu.org:
bug#57145; Package guile. (Fri, 12 Aug 2022 07:49:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guile <at> gnu.org:
bug#57145; Package guile. (Fri, 12 Aug 2022 13:16:02 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: lloda <lloda <at> sarc.name>
Cc: "jgart via Bug reports for GUILE,
 GNU's Ubiquitous Extension Language" <bug-guile <at> gnu.org>,
 57145 <at> debbugs.gnu.org
Subject: Re: bug#57145: [PATCH] Add xcons example
Date: Fri, 12 Aug 2022 08:15:50 -0500
On Fri, 12 Aug 2022 09:48:13 +0200 lloda <lloda <at> 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.みんな/




Information forwarded to bug-guile <at> gnu.org:
bug#57145; Package guile. (Fri, 12 Aug 2022 13:16:02 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 229 days ago.

Previous Next


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