[Newbies] closed and open interval
filet00 at gmail.com
Mon Nov 24 19:35:50 UTC 2008
2008/11/24 Cédrick Béler <cdrick65 at gmail.com>
> Interval -> "I represent a finite arithmetic progression."
> What about infinite arithmetic progression ? ;)
> Can a collection contain an infinite number of elements... ?
> [0 1[ could represent the collection of **all number** between 0 and 1
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
What do you need it for? As you can see in methods for Interval - there are
two tests for include : rangeIncludes and valueIncludes (includes is both of
First checks if a number is beetween borders and second if its enumerated
(with stepping). In deed it contains both: finite and infinite progressions,
but just in special cases.
The question (already asked) is: what do you need it for?
mail: filet00 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners