On Fri, 2004-10-08 at 06:43, trans. (T. Onoma) wrote:
> On Friday 08 October 2004 04:31 am, Yukihiro Matsumoto wrote:
> | I don't agree with the word "contradictory".  The above function
> | returning true would have no problem, wouldn't it?
> |
> | Here's my possible plans:
> |
> |   planA - leave member? and include? as they are; they are very easy
> |           to distinguish, and to remember.  why bother?
> |
> |   planB - making member? as alias to include?; they behave same.  no
> |           confusion, no problem.  who wants membership for ranges?
> |
> | The planB solves your second problem (slowness) as well.
> 
> Okay, planB is good. You are going the other way toward Range being 
> continuous. That's fine, but really that should be called an Interval:
> 
>   http://mathworld.wolfram.com/Interval.html
> 
> Range really means something else. 

     Yes, the problem is that it means several something elses (see 

    http://mathworld.wolfram.com/Range.html

for example).  I think the one you are thinking of is "statistical
range" whereas the "image" definition is pretty close to
"interval"--though I do see your point that it need not be continuous,
it also need not be limited to integers or even reals.  "integer powers
of Pi less than a thousand" is a range in that sense as well.

-- Markus