On 29 Oct 2002 at 22:29, Larry Wall wrote:

> Of course, Real Mathematicians will want [1..10) and (1..10] instead.

That seems familiar, I like it ;)

> There's also an issue of what (1..10) - 1 would or should mean, if
> anything. Does it mean (1..9)?  Does 1 + (1..10) mean (2..10)?
> 
> And what would ('a' .. 'z') - 1 mean?

If we are going to do math with ranges, we definitely need non-
discreet ranges also. Or at least make sure it's easy enough to 
implement as a class.

(1.9 .. 2.1) + (5..7) * (72.49 .. 72.51);

-- 
Markus Laire 'malaire' <[EMAIL PROTECTED]>


Reply via email to