Terminology: interval vs shape Per Bothner 24 Aug 2015 17:27 UTC
Re: Terminology: interval vs shape Bradley Lucier 24 Aug 2015 20:39 UTC

Re: Terminology: interval vs shape Bradley Lucier 24 Aug 2015 20:39 UTC

Thank you for your continuing interest in this SRFI.

> On Aug 24, 2015, at 1:27 PM, Per Bothner <xxxxxx@bothner.com> wrote:
>
> Is there any conceptual difference between SRFI-122's 'interval'
> and SRFI-25's 'shape'?  If not, I much prefer 'shape'.
> I've seen 'interval' used for a single range of numbers,
> so I guess we could use 'multi-interval'.  However, 'shape'
> is short, descriptive, and already in use.

It appears that there is no functional difference between SRFI-25 “shapes" and SRFI-122 “intervals”.

To me, a “shape” is independent of location, a 2 x 4 rectangle with sides parallel to the axes, for example, is the same shape no matter where it is located, whereas an interval also specifies its location.

In my mathematical experience, multi-dimensional intervals are common usage.

Overall, I still prefer the term interval.

Brad