#17979: Reimplementation of IntegerListsLex
-------------------------------------+-------------------------------------
       Reporter:  aschilling         |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  blocker            |    Milestone:  sage-6.6
      Component:  combinatorics      |   Resolution:
       Keywords:  days64             |    Merged in:
        Authors:  Bryan Gillespie,   |    Reviewers:  Nathann Cohen, Jeroen
  Anne Schilling, Nicolas M. Thiery  |  Demeyer, Travis Scrimshaw
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/ticket/17979                |  48cbd1f2ca8d6e1fd73f8e6dad0a94c4b987ba3b
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by nthiery):

 Replying to [comment:241 jdemeyer]:
 > I think this input should be allowed:
 > {{{
 > sage: IntegerListsLex(7, min_slope=Infinity).list()
 > }}}

 Hmm, this would be generating lists of length at most 1.

 Do you see any real use case?

 It seems to me that the specification that `min_slope` is either `-oo`
 or an integer (and symmetrically for `max_slope`) is quite natural,
 and allowing for `+oo` would only mean adding more special cases and
 complications to handle for no added value.

 Cheers,
                                      Nicolas

 Btw: thanks for all the interesting corner cases you posted!

--
Ticket URL: <http://trac.sagemath.org/ticket/17979#comment:252>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to