Finally I implemented two decorators : one for functions and one for
methods and everything seems to work. The last version is in
sage-combinat queue.
I have to write down documentation but the ticket should be finalized today.
If you have any remark on naming convention, architecture, possible
i
>>
>> I get trouble with TestSuite which only works when elements of the set
>> have parents. In particular it does not work in the following case
>> {{{
>> sage: from sage.sets.set_from_iterator import EnumeratedSetFromIterator
>> sage: E = EnumeratedSetFromIterator(graphs,
>> category=InfiniteEnu
> > We discussed this with Vincent over the phone: I pointed him to the
> > combinatorial_class_from_iterator decorator implemented in
> > class_from_iterator.patch; he volunteered to refactor it as
> > enumerated_set_from_iterator. Note that, as a decorator over an
> > existing function which prod
On Thu, Feb 16, 2012 at 10:04:16AM +, Vincent Delecroix wrote:
> Trying to put my patch a little bit higher in the queue, I noticed the
> presence of the patch class_from_iterator.patch (which does not
> commute with mine as I basically deprecate what it did). There is no
> author, if there is
2012/2/16, Vincent Delecroix <20100.delecr...@gmail.com>:
> 2012/2/11, Nicolas M. Thiery :
>> On Sat, Feb 11, 2012 at 12:05:49PM +0100, Florent Hivert wrote:
>>> > Together with the language-team, we decided to implement a
>>> > LazyEnumeratedSet (see my patch in the queue) which takes as input an
2012/2/11, Nicolas M. Thiery :
> On Sat, Feb 11, 2012 at 12:05:49PM +0100, Florent Hivert wrote:
>> > Together with the language-team, we decided to implement a
>> > LazyEnumeratedSet (see my patch in the queue) which takes as input an
>> > iterable (finite or infinite) and mimic a set which contai
On Sat, Feb 11, 2012 at 12:05:49PM +0100, Florent Hivert wrote:
> > Together with the language-team, we decided to implement a
> > LazyEnumeratedSet (see my patch in the queue) which takes as input an
> > iterable (finite or infinite) and mimic a set which contains the
> > element of the iterable.
Hi,
> Together with the language-team, we decided to implement a
> LazyEnumeratedSet (see my patch in the queue) which takes as input an
> iterable (finite or infinite) and mimic a set which contains the
> element of the iterable. It is very useful when we do not want to
> implement a specif
Hello,
Together with the language-team, we decided to implement a
LazyEnumeratedSet (see my patch in the queue) which takes as input an
iterable (finite or infinite) and mimic a set which contains the
element of the iterable. It is very useful when we do not want to
implement a specific class... W