#8704: Improve the _repr_ of IntegerRange
------------------------------+---------------------------------------------
   Reporter:  hivert          |       Owner:  hivert       
       Type:  enhancement     |      Status:  needs_review 
   Priority:  major           |   Milestone:  sage-4.4.3   
  Component:  combinatorics   |    Keywords:  integer range
     Author:  Florent Hivert  |    Upstream:  N/A          
   Reviewer:                  |      Merged:               
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by hivert):

 I fixed the following issues raised by Nicolas on sage-combinat-devel
 {{{
 > >> The output of IntegerRange is much nicer now. I was about to put a
 > >> positive review, when I had a last doubt about the consistency
 between:
 > >>
 > >>      sage: I = IntegerRange(2,100,5); I
 > >>      {2, 7 .. 97}
 > >>      sage: I = IntegerRange(54,Infinity,3); I
 > >>      {54, 57, ..}
 > >>
 > >> Should there be a comma in both cases, in none, or is it good as is?
 > >
 > > I would say {2, 7 .. 97} should be replaced by {2, 7, .., 97} for
 > > consistency.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8704#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to