Hi Andrey, On Feb 13, 4:30 pm, Andrey Novoseltsev <novos...@gmail.com> wrote: > Hello, > > While writing an enhancement proposal > onhttp://trac.sagemath.org/sage_trac/ticket/10777 > I thought that it could be convenient to create a (finite) poset > without specifying its elements but perhaps adding them one-by-one as/ > if they are created later. > > It seems to me that it is not possible to create such posets in Sage > now, is it? > > Is it actually of any interest to anyone or my situation was too > specific? (I want to create polytopes which are faces of other > polytopes without necessarily constructing the whole face lattice.)
I might be interested in such a thing -- I'm working on a project which uses posets, although I haven't (yet) needed to add elements. Could one work around this by simply creating a new poset with the elements from the old one and also the new elements? I guess this would be problematic if there is a lot of overhead in creating the poset in the first place -- is that the case in your application? As further support, I guess I would point out that lists and dictionaries both allow one to append new elements, so I think it makes sense for posets to have this functionality too. If you open a ticket for this, cc me too (I'm 'niles' on Trac) :) -Niles -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.