issubset and the like are things from (IIRC) very old Python. You should strive to follow current naming schemes: is_sublattice.
Best, Travis On Thursday, May 28, 2015 at 11:34:05 AM UTC-7, Jori Mäntysalo wrote: > > On Thu, 28 May 2015, Travis Scrimshaw wrote: > > > I would have one method called is_sublattice() which takes some kind > of > > set and checks if that set of elements forms a sublattice. You could > then > > specialize this by checking the type of the input to see if it is a > lattice, > > and if so, only check element containment. > > What about the name? A.issubet(B) on sets mean that B is bigger set > containing A. Same for A.is_subset(B) on graphs. "has_sublattice()"? > > -- > Jori Mäntysalo > -- 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.