On Sat, 12 Oct 2002, Graham Barr wrote:
: Or even something like
: 
:   use Acme[1.0];

Hmm.  Looks kinda like a subscript, which could be sliced to give an
acceptable version range:

    use Acme[1;0..];

Except slices aren't powerful enough to say what you really want to say:

    use Acme[1;17.. | 2;0..];

Er, or maybe they are now...

The precedence is screwed up though.  It'd have to be

    use Acme[ (1;17..) | (2;0..) ];

If we use | and & as sugar for any() and all(), then their precedence
should probably be the same as || and &&.  But that still doesn't
help for superposed slices or lists, since commas and semicolons are
lower precedence yet.  I'm afraid any() and all() don't help either.

Please don't anyone suggest special low-precedence versions...

Larry

Reply via email to