[r6rs-discuss] >= should not act on subversion, but rather version
andre at het.brown.edu
Thu Jun 14 09:44:47 EDT 2007
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
"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))
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))
More information about the r6rs-discuss