Case statement (similar to switch in other languages)

"Good" = case {:ok, :data} do
              {:ok, result} -> "Good"
           {:error, result} -> "Bad"
                          _ -> "Nothing matched"
         end

Documentation: Kernel.SpecialForms.case/2