On Monday, May 18, 2015 at 2:43:46 AM UTC-7, Simon King wrote: > - There are ways to make the conversion automatic, but I would recommend > against it (perhaps it is safer to use K2.register_conversion instead > of K2.register_coercion?) > - You can obtain a homomorphism and use it explicitly for conversion. > Depending on the application, this solution is preferred. > I think registering conversions is only safer in the sense that conversions don't get used automatically in so many situations. However, I think the algorithms for finding composed conversions and they way they are cached are very similar to what happens for coercion. So I think registering conflicting conversions will cause consistency problems in the conversion graph in exactly the same way as happens for coercions.
-- You received this message because you are subscribed to the Google Groups "sage-support" 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-support. For more options, visit https://groups.google.com/d/optout.
