Hey, > OK. First question is name of the function. I would say A.has_subposet(), > but should it be A.has_isomorphic_subposet() or even B.is_subposet()? >
+1 to doing this; that way it becomes easier (more natural) to check for things like 2+2 freeness. My first thought is for B.is_subposet(A). > > Next, short description. There are three different style used for > True/False -functions: > > - Returns True if the poset has a unique minimal element. > - Returns True if the poset is totally ordered, and False otherwise. > - Returns whether f is an EL labelling of self > (Last one also misses a dot.) Is there some style manual? > I'd take the middle one (but starting with "Return") . I forget the link off-hand, but there is a place in the Sage doc about this. Best, Travis -- 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.