[r6rs-discuss] >= should not act on subversion, but rather version

From: Carl Eastlund <cce>
Date: Thu, 14 Jun 2007 10:14:46 -0400

On 6/14/07, AndrevanTonder <andre at het.brown.edu> wrote:
> With the current version reference porposal, it is not clear to me
> how I would concisely express the very common case of an interval of
> versions, e.g.,
>
> "Any version equal to or later than 5.45"
>
> I would propose instead letting the >= and <= act on the whole version, not the
> subversions, so I could express the above as
>
> (>= (5 4 5))

I was about to say that takes away the ability to specify small
subranges of a major version because, for instance, 6.0 may not be
backwards compatible. But of course one can always write:

(and (>= (5 4 5)) (< (6 0 0)))

So I support this idea.

-- 
Carl Eastlund
Received on Thu Jun 14 2007 - 10:14:46 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC