I have a case statement something like this
case Enum.filter(list, fn a → a.name == ^name end) do
a → a
_ → 
based on name it will give the list and if the name is not present it would give me an empty list. So I thought to use this behavior by case statement. But it’s giving me a warning
this clause cannot match because a previous clause at line 15 always matches
How can I match it against the empty list here?