belated feedback Alex Shinn (16 Apr 2021 15:00 UTC)
Re: belated feedback Bradley Lucier (16 Apr 2021 17:08 UTC)
Re: belated feedback John Cowan (16 Apr 2021 18:25 UTC)
Re: belated feedback Bradley Lucier (17 Apr 2021 21:48 UTC)
Re: belated feedback Alex Shinn (18 Apr 2021 23:45 UTC)
Re: belated feedback Bradley Lucier (16 Apr 2021 23:46 UTC)
Re: belated feedback Alex Shinn (17 Apr 2021 00:03 UTC)
Re: belated feedback Bradley Lucier (17 Apr 2021 01:10 UTC)
Re: belated feedback Alex Shinn (17 Apr 2021 01:22 UTC)
Re: belated feedback Alex Shinn (30 Apr 2021 05:41 UTC)
Re: belated feedback Bradley Lucier (30 Apr 2021 14:17 UTC)
Re: belated feedback John Cowan (30 Apr 2021 15:04 UTC)
Re: belated feedback Bradley Lucier (30 Apr 2021 16:42 UTC)
Re: belated feedback Alex Shinn (01 May 2021 09:27 UTC)
array-elements-in-order? (Was: belated feedback) Bradley Lucier (16 Jan 2022 19:08 UTC)

array-elements-in-order? (Was: belated feedback) Bradley Lucier 16 Jan 2022 19:08 UTC

On 4/16/21 10:59 AM, Alex Shinn wrote:
> The name and description of array-elements-in-order? is misleading,
> suggesting it is the elements themselves which must be in order.
> Perhaps array-indices-in-order? or array-contiguous-and-in-order?
> would have been better.

The current description of array-elements-in-order? is

=========================================
Procedure: array-elements-in-order? A

Assumes that A is a specialized array, in which case it returns #t if
the elements of A are stored in (array-body A) with increasing and
consecutive indices, and #f otherwise.

It is an error if A is not a specialized array.
=========================================

I'm soliciting advice on what to name it and how to describe what it means.

I think Alex's suggested names are better than the current name, but I'm
not entirely happy with them.

Brad