On Sat, Nov 22, 2014 at 3:28 PM, Jean Bétréma <jean.betr...@gmail.com> wrote: > Oops, imho a permutation is a very elementary object, coding it is not so > hard,
Why do you come to that conclusion? I'm not so sure. > Moreover the construction > "Permutation([4,1,2,5,3])" suggests that this is the right way, and indeed: > > sage: Permutation > <class 'sage.combinat.permutation.Permutation'> This is the Python class, not the element. Are you aware of ".parent()" ? sage: p=Permutation([4,1,2,5,3]) sage: p.parent() Standard permutations sage: p.parent().category() Category of infinite enumerated sets sage: p.parent().categories() [Category of infinite enumerated sets, Category of enumerated sets, Category of infinite sets, Category of sets, Category of sets with partial maps, Category of objects] Does this make sense? I'm not an expert on this, but there is a gap between coding in Python and how mathematical Objects are defined. For me, seeking for any solution and implementing it - and hence having concrete examples which expose all corner cases and invisible problems - is a huge step. Writing a paper about it (which is IMHO by no means a discussion) just creates static words of intentions, which cannot cover all the intricate problems arising in such real-world tests. -- Harald -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.