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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/edae76f6-9c51-450b-9604-91fd0df1cc6c%40googlegroups.com.