On 2009-02-27 09:47:30 -0500, Daniel Keep <[email protected]> said:
assert(index in 0.._size);I don't think this should be in the language... it just feels like there isn't enough use for it. Especially not when you can implement it as a library.
Well, if a..b simply maps to an interval type in the standard library (as I think it should) then you can implement the "in" operator in the standard library, outside of the language, if you want.
-- Michel Fortin [email protected] http://michelf.com/
