I haven't thought about the details, but just happened to click on Matthew Rocklins 2014 SciPy talk where he introduces the multiple dispatch ideas for SymPy and it seemed relevant to this issue.
Jason moorepants.info +01 530-601-9791 <(530)%20601-9791> On Sun, Mar 26, 2017 at 6:21 AM, Francesco Bonazzi <[email protected]> wrote: > > > On Sunday, 26 March 2017 00:48:13 UTC+1, Jason Moore wrote: >> >> Would multiple dispatch be best for implementing Add/Mul/Etc for these >> different types? >> > > I think this alternative would work better than multiple dispatching. It's > also much simpler to implement. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" 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 https://groups.google.com/group/sympy. > To view this discussion on the web visit https://groups.google.com/d/ms > gid/sympy/1770ca8c-a772-4e77-a3b2-5147708ea944%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/1770ca8c-a772-4e77-a3b2-5147708ea944%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAP7f1Aim52QMytGWYg9WoxqW7r%2BfCwrx2dRgsW%2BhUgY-5yQJ8Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
