Hello, Is it possible to create a new range operator ':' such that:
a:b is the same as a..b (this is the easy part) a:b:c is a range from 'a' to 'b' by steps of 'c'. For example, 2:15:3 == 2,5,8,11,14 :b is the same as 0..b a: is the same as a..Inf ::c is the same as 0:Inf:c : is the same as 0..Inf I think you get the idea. This is inspired by NumPy. Cheers, Daniel. -- I'm not overweight, I'm undertall.