Revised RFC on range design for D2

Lars Kyllingstad public at kyllingen.NOSPAMnet
Tue Sep 16 04:24:58 PDT 2008


Andrei Alexandrescu wrote:
> Dave wrote:
>> And instead of the "yellow" primitive, why not "intersect(r,s)" , 
>> "intersection(r,s)", "r.contains(s)" , "r.intersect(s)" , etc.
>>
>> Wasn't "intersect" the original?
> 
> Intersect is good but doesn't reveal an important detail: the operation 
> is not commutative.

How about 'overlap', then? Still not perfect, but at least it doesn't 
carry the name of an inherently commutative mathematical operation.

-Lars


More information about the Digitalmars-d-announce mailing list