On Oct 21, 2:55 am, Yingjie Lan <lany... at yahoo.com> wrote: > > In simulation, one can use range objects to denote a discrete domain, > and domain comparison could be very useful. Not just equality, but also > things like if one domain is contained in another. Can't sets [help(set)] be used for this?