#19895: extend lazy lists: various improvments and generalizations, new sublists
---------------------------+--------------------------------
   Reporter:  dkrenn       |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-7.0
  Component:  misc         |         Keywords:
  Merged in:               |          Authors:  Daniel Krenn
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+--------------------------------
 This ticket extends `sage.misc.lazy_list` by the following:

 - Sublists `dropwhile` and `takewhile` (similar behavior as those in the
 `itertools`; we share the same cache).

 - Simplify code in `__repr__` and allow custumization.

 - Creating sublists/slices of derived instances (e.g. if there is a class
 `Z` inheriting from `lazy_list_generic`, then now a slice of an instance
 of `Z` can now be an instance of `Z` as well.

 - Improve documentation

 - Various smaller code improvements and simplifications.

--
Ticket URL: <http://trac.sagemath.org/ticket/19895>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to