It would but it is worth saying we are adding a new rule that we don't have right now. Today all custom operators currently have the same precedence:
https://github.com/elixir-lang/elixir/blob/master/lib/elixir/src/elixir_parser.yrl#L68 *José Valimwww.plataformatec.com.br <http://www.plataformatec.com.br/>Founder and Director of R&D* On Thu, May 17, 2018 at 1:26 PM, Michał Muskała <[email protected]> wrote: > On 17 May 2018, 13:13 +0200, José Valim <[email protected]>, wrote: > > Michał, I think the issue with your proposed approach is precedence. <+> > and <*> need to have different precedences and where should we put those > operators compared to all others? > > > > > That's a good point. What if we put them at the same level as the regular > operators? Would that work? > > Michał. > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/elixir-lang-core/e0d11c85-087c-4bba-9f5e-f8f8f40c3a07%40Spark > <https://groups.google.com/d/msgid/elixir-lang-core/e0d11c85-087c-4bba-9f5e-f8f8f40c3a07%40Spark?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 "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BFAaQQnev2z%3DaV%3DJmhUXMt3E2Z%2B6Y%3D0aPpVBi%2BnXovkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
