Robert Bradshaw wrote:
> 
> Also, [10..1] now returns [10], it should probably return the empty  
> list. What about [10,11,.,0]? Also the empty list? I think so. Thoughts?

Well, it ought to go to infinity, wrap to negative infinity, and then 
back up to zero, of course :).  Just treat it like the one-point 
compactification of the real line, going the long way around.

Should the following be valid?

[10,20..15] for the list [10,20,19,18,17,16,15].

Perhaps there should be a distinction between [10,11,..,0] and 
[10,11..0].  [10,11,..,0] is an error, while [10,11..0] is okay (i.e., 
without the commas, the step is assumed to be 1 or -1).

-Jason



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to