Just mentioning I really like the idea of allowing the use of `<-` on `if`s. So 
👍 from me

Best,
Kelvin Stinghen
[email protected]

> On Oct 17, 2019, at 16:12, Joel Wietelmann <[email protected]> wrote:
> 
> You raise a good point. If I could write this without worrying about 
> NoMatchErrors, that would solve all my complaints:
> if %{bar: "baz"} = foo, do: "yes"
> But I thought changing the `if` statement might be a harder sell.
> 
> On Thursday, October 17, 2019 at 3:07:48 PM UTC-4, Michael St Clair wrote:
> Is there a reason or limitation `if` couldn't be changed to handle this 
> instead of throwing a NoMatchError?
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elixir-lang-core/edae76f6-9c51-450b-9604-91fd0df1cc6c%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/elixir-lang-core/edae76f6-9c51-450b-9604-91fd0df1cc6c%40googlegroups.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/D8E8718D-3BB2-464B-94F9-F4C58D9CB8B4%40gmail.com.

Reply via email to