Hello. Can you give a little example showing how to define an infix operator in Haskell ?
Christophe Le 26 févr. 2014 00:02, "Sergey Kirpichev" <[email protected]> a écrit : > On Tuesday, February 25, 2014 8:31:02 PM UTC+4, Aaron Meurer wrote: >> >> Some people on this list might be interested in this. Some folks are >> giving another shot at writing a PEP to add a new operator to Python >> for matrix multiplication. The discussion is at >> https://github.com/numpy/numpy/pull/4351. >> > > Really bad idea. It's better to have an ability to define arbitrary > infix operator (like Haskell, for example). > > -- > 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 http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/21d80555-342e-4ae1-b7f0-9db077bc37f6%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAAb4jG%3Dgftr3pLEeghKchGcL6jOH-2q03s1%2Bz8Z1i1avANaLvQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
