#11490: Add a thematic tutorial on coercion and categories
---------------------------------------------------------+------------------
Reporter: SimonKing | Owner:
mvngu
Type: enhancement | Status:
needs_review
Priority: major | Milestone:
sage-5.7
Component: documentation | Resolution:
Keywords: categories coercion thematic tutorial | Work issues:
Report Upstream: N/A | Reviewers:
Vincent Delecroix, Travis Scrimshaw
Authors: Simon King | Merged in:
Dependencies: #14084 | Stopgaps:
---------------------------------------------------------+------------------
Comment (by SimonKing):
Replying to [comment:49 dimpase]:
> > I think that this error is totally misleading. Clearly, the new
coercion model is used, is it not?
> >
> Does this mean that one has to change some code here to take care of
Volker's remark on
[http://permalink.gmane.org/gmane.comp.mathematics.sage.devel/64533 sage-
devel] ?
I just see that I forgot to answer.
No, I believe using sage.rings.ring.Ring and friends as base classes is
correct. If one wants to use generators (which I don't, in this tutorial),
then one must implement it. Namely, the gen() method inherited from
`ParentWithGens` belongs to the old coercion model.
So, no need to change the code here! Still needs review.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11490#comment:50>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.