Currently, the cover relations of a poset are returned as lists: sage: P = Posets(4)[3] sage: P.cover_relations() [[0, 1], [0, 2], [0, 3]]
This seems to be a bad choice, because lists are not hashable, and also somewhat inconsistent, because edges of graphs are returned as tuples. The same goes for P.relations(). 1) Is there a good reason for this choice, or is it just history? 2) Provided that I do the work, is there any chance that a ticket switching to tuples gets a positive review? A preliminary run shows only trivial doctest failures, that is, [a, b] vs (a, b). (One non-intrinsic motivation is that it would make some user-visible sagemath code generated by FindStat slightly easier to understand for casual users.) Martin -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/395a9610-43ee-41de-a927-8cd087a2329an%40googlegroups.com.