unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Colin Woodbury <colin@fosskers.ca>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: [PATCHv3] Extensions for SRFI-171 (Transducers)
Date: Fri, 18 Aug 2023 19:10:23 +0900	[thread overview]
Message-ID: <7cef132a-2e0c-4b14-9c9d-4f105de1724e@fosskers.ca> (raw)
In-Reply-To: <871qg0vf8y.fsf@gnu.org>

On 8/18/23 19:03, Ludovic Courtès wrote:
> Apologies for the delays, we’re pioneering “slow dev” I guess.  :-)

Haha no issue at all!

 > Could you take a look?

In that case, please hold on the patch. I am currently "rounding out" 
the "one true Transducer API" in several other Lisps, and am close to 
what I consider a representative set of the desirable primitives a 
developer would want out-of-the-box. One I'm done there, I will return 
to this and a few things that are currently missing.

The other Lisps have also achieved a zip-like pattern (i.e. passing 
multiple collections to `transduce` at the same time, thus allowing 
functions like `map` to operate on multiple inputs).

There is also the issue of SRFI-171's disambiguated `transduce-list`, 
`transduce-vector`, etc., since Scheme has no `defgeneric` by default. 
Guile _does_ however, so we could write a generic `transduce` in Guile's 
own extensions. In general though it would be nice if SRFI-XYZ 
"Transducers Redux" could depend on a standardized generics system, but 
alas.

Anyway, thanks for getting back to me. I'll return to this effort in due 
time.

Cheers,

Colin



  reply	other threads:[~2023-08-18 10:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-21  0:48 [PATCH] Extensions for SRFI-171 (Transducers) Colin Woodbury
2022-12-21 10:00 ` Linus Björnstam
2022-12-22 14:33   ` Damien Mattei
2022-12-22 14:52     ` Damien Mattei
2022-12-22 17:32       ` Damien Mattei
2022-12-24 13:25         ` Damien Mattei
2022-12-24 15:28   ` [PATCHv2] " Colin Woodbury
2023-01-14 15:09     ` Ludovic Courtès
2023-01-21  1:48       ` [PATCHv3] " Colin Woodbury
2023-01-23 22:17         ` Ludovic Courtès
2023-01-24  0:21           ` Colin Woodbury
2023-01-24  9:07             ` Ludovic Courtès
2023-05-18  0:36               ` Colin Woodbury
2023-06-28 12:27                 ` Colin Woodbury
2023-08-12 19:37                   ` Linus Björnstam
2023-08-13  4:07                     ` Colin Woodbury
2023-08-18 10:03                   ` Ludovic Courtès
2023-08-18 10:10                     ` Colin Woodbury [this message]
2023-08-18 13:24                       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7cef132a-2e0c-4b14-9c9d-4f105de1724e@fosskers.ca \
    --to=colin@fosskers.ca \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).