PS: On 7 Jun., 22:18, Simon King <[email protected]> wrote: > As for element constructor, in my minimal example I just provide a > class as an attribute called "Element" to the parent class. Then, an > element constructor is correctly inferred (that's one reason to > initialise the category of the parent):
To avoid misunderstanding: I did not intend to imply that the element constructor *has* to be provided in that way. You could as well implement your own _element_constructor_, and it should work. -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
