Parent should represent an object in a category that has a forgetful functor to sets; CategoryObject an object in an arbitrary category. I have no objection to moving the generator and name code to Parent. David
On Tue, May 5, 2015 at 4:41 AM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote: > Hello, > > what are the types CategoryObject and Parent supposed to represent? For > example, I don't understand why generators and names are dealt with on the > level of CategoryObject but constructing elements is dealt with on the > level of Parent. > > In fact, in all of Sage, there is only a single class which is a > CategoryObject but not a Parent: > > class SimplicialComplex(CategoryObject, GenericCellComplex) > > -- > 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. > -- 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.