From: Gregory Brown Date: 2007-02-21T13:29:02+09:00 Subject: Re: Range#overlap? On 2/20/07, Suraj Kurapati wrote: > unknown wrote: > > I think that overlap? and within? are two different things, which I'm > > not sure you think from your email. Overlap? suggests, to me, that a > > subset of the things one range includes is the same as a subset of > > things that the other range includes. Within? suggests that all of one > > range is contained in a subset of the other range. > > Agreed. These terms evoke the following synonyms in my mind: > > overlap? means intersect? > > within? means subset? These are much better names, I think. Of course, it'll only be so if you are mathematically inclined.