Hi Nicolas, On 2015-06-22, Nicolas M. Thiery <nicolas.thi...@u-psud.fr> wrote: > I checked the documentation and code, and indeed it's ambiguous. The > index set is really meant to be a parent; for example there are tests > such like I in Sets().Finite() and the dimension method calls > `cardinality`. As a syntactic sugar, lists or tuples are converted to > a `FiniteEnumeratedSet`. > > At this point, it would indeed be better to document that `I` shall be > in Sets() (i.e. basically be a parent), or be a finite iterable that > will be converted to a FiniteEnumeratedSet (and implement things > accordingly).
OK. In my use-case, I could easily turn the container into an object of EnumeratedSets(). Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/d/optout.