fxmapping-accumulate Marc Nieper-Wißkirchen (15 Jun 2021 18:57 UTC)
Re: fxmapping-accumulate Wolfgang Corcoran-Mathe (15 Jun 2021 19:24 UTC)
Re: fxmapping-accumulate Wolfgang Corcoran-Mathe (15 Jun 2021 19:28 UTC)
Re: fxmapping-accumulate Marc Nieper-Wißkirchen (15 Jun 2021 20:05 UTC)
Re: fxmapping-accumulate Wolfgang Corcoran-Mathe (15 Jun 2021 21:29 UTC)
Re: fxmapping-accumulate Marc Nieper-Wißkirchen (16 Jun 2021 07:18 UTC)
Re: fxmapping-accumulate Wolfgang Corcoran-Mathe (16 Jun 2021 17:33 UTC)

Re: fxmapping-accumulate Wolfgang Corcoran-Mathe 15 Jun 2021 19:28 UTC

On 2021-06-15 15:24 -0400, Wolfgang Corcoran-Mathe wrote:
> On 2021-06-15 20:57 +0200, Marc Nieper-Wißkirchen wrote:
> > Also, I'd suggest allowing an arbitrary number of values added to the stop
> > continuation of fxmapping-accumulate that enables communication from values
> > inside the loop to the outside world (e.g. some accumulated value).
>
> The beauty of fxmapping-accumulate is that this is unnecessary;
> to pass values x1, x2, ..., from inside `proc`, you just call
> (values (stop) x1 x2 ...).

A minor additional point: Looking at this example, I'd say that `stop'
is a misleading name.  Perhaps `return' would be better, but I'd prefer
something that suggests producing a final value--`finalize'?

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>