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

From: Shiro Kawai <shiro>
Date: Thu, 14 Jun 2007 15:15:22 -1000 (HST)

I've submitted a formal comment regarding on this yesterday, which
I hope will be forwarded here soon.

--shiro


From: AndrevanTonder <andre at het.brown.edu>
Subject: [r6rs-discuss] >= should not act on subversion, but rather version
Date: Thu, 14 Jun 2007 09:44:47 -0400 (EDT)

> 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"
>
> This would not work:
>
> ((>= 5) (>= 4) (>= 5))
>
> since version 5.94 would not match. Neither would version 6.1, etc.
>
> I could write
>
> (or ((>= 5) (>= 4) (>= 5))
> ((>= 5) (>= 5))
> ((>= 6)))
>
> but this seems rather unwieldy for such a simple concept.
>
> 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))
>
> Andre
>
> _______________________________________________
> r6rs-discuss mailing list
> r6rs-discuss at lists.r6rs.org
> http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
>
Received on Thu Jun 14 2007 - 21:15:22 UTC

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