> But even that can have other consequences. For example, what is the 
> precedence for <-? Does it work nicely with “and” and “or” and other logical 
> operators?
>
> So there is a lot of complexity involved! I was not trying to be harsh. :D 
> Almost anything you may want to do may impact others areas.

Yep! I understand, will discover those by myself by trying it, to not take more 
of your time and also because learning by hitting the head in the wall makes it 
more rememberable.

Thank you for the discussion though, really fruitful for me already. :D

Best,
Kelvin Stinghen
kelvin.sting...@me.com <mailto:kelvin.sting...@me.com>

> On Oct 17, 2019, at 21:03, José Valim <jose.va...@plataformatec.com.br 
> <mailto:jose.va...@plataformatec.com.br>> wrote:
> 
> > But I see your point: it is not and it was never the intention for it to be.
> 
> Exactly. It could be, I guess, but it certainly wasn’t designed as such.
> 
> > Thinking about that actually just gave me an idea for the lib: a `left <- 
> > right` operator that works exactly like `=` but instead of raising when it 
> > doesn’t match, it returns `nil`. Will check how that goes and what are the 
> > implications of the conflict 
> 
> But even that can have other consequences. For example, what is the 
> precedence for <-? Does it work nicely with “and” and “or” and other logical 
> operators?
> 
> So there is a lot of complexity involved! I was not trying to be harsh. :D 
> Almost anything you may want to do may impact others areas.
> -- 
> 
> 
> José Valim
> www.plataformatec.com.br <http://www.plataformatec.com.br/>
> Skype: jv.ptec
> Founder and Director of R&D
> 
> -- 
> 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 elixir-lang-core+unsubscr...@googlegroups.com 
> <mailto:elixir-lang-core+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BKUcFhxMpK_tSNu%3DxM1n2%3Ddy7n%3DHTt9GvhqhoZa%2Bzc4Q%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BKUcFhxMpK_tSNu%3DxM1n2%3Ddy7n%3DHTt9GvhqhoZa%2Bzc4Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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 elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/F130F579-7981-4106-BABE-BE89668DE488%40gmail.com.

Reply via email to