Re: Multiple ranges for range-fold, range-for-each, ... Wolfgang Corcoran-Mathe (31 Aug 2020 16:35 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... Marc Nieper-Wißkirchen (31 Aug 2020 17:54 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... John Cowan (31 Aug 2020 18:20 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... Wolfgang Corcoran-Mathe (31 Aug 2020 18:43 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... Wolfgang Corcoran-Mathe (31 Aug 2020 18:49 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... Marc Nieper-Wißkirchen (31 Aug 2020 18:57 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... Marc Nieper-Wißkirchen (31 Aug 2020 18:55 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... Wolfgang Corcoran-Mathe (01 Sep 2020 05:28 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... John Cowan (01 Sep 2020 22:56 UTC)
Re: Multiple ranges for range-fold, range-for-each, ... Wolfgang Corcoran-Mathe (01 Sep 2020 23:50 UTC)

Re: Multiple ranges for range-fold, range-for-each, ... Wolfgang Corcoran-Mathe 31 Aug 2020 18:32 UTC

Thanks.  I overlooked the functions you mentioned, for whatever reason.
So we have:

* range-for-each
* range-map
* range-fold
* range-fold-right
* range-map->list
* range-filter->list
* range-remove->list
* range-map->vector
* range-filter->vector
* range-remove->vector
* range-count
* range-any
* range-every
* range-index
* range-index-right,

all variadic.  This is a lot, but I think it's very important that we
get these right.

On 2020-08-31 19:53 +0200, Marc Nieper-Wißkirchen wrote:
> And what about "range-filter-map"? (See SRFI 1).

It's probably a good idea, since it's likely to be much more efficient
than the composition of range-map and range-filter.

> In my proposal, range=? receives a =? predicate to compare the values.

That seems straightforward and should be added.

It looks like we're going to have another draft, and a big one,
at that.

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

"For good or ill, when I went off to grad school, I studied
linguistics, so the only computer language I used there was LISP.
It was my own personal McCarthy era." --Larry Wall