It is possible to pattern match with an OR | in a case clause

You could do the following using guards:

case x do
  {:ok, y} when y in [:first, :third] -> 
    "do something"
  {:ok, :second} ->
    "do something else"
end
7 Likes