From: Yukihiro Matsumoto Date: 2004-10-06T09:19:15+09:00 Subject: Range behavior (Re: [RCR] New [] Semantics) Hi, I changed the subject. In message "Re: [RCR] New [] Semantics" on Tue, 5 Oct 2004 18:19:09 +0900, "trans. (T. Onoma)" writes: |I occurs to me that the angry villagers might be confused. The example of the |never ending | | (0..(10.0/0)).member?(4) | |comes to mind. Why would this be an infinite loop? 'member?' should have terminated iteration as soon as it find the value. I will fix. Range serves as both continuous and discrete interval of values. 'member?' treat it as discrete, whereas 'include?' treat it as continuous. matz.