We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A workspace command that converts an if expression into a cond expression
Example:
defmodule Example do def run(foo) do if foo do :ok else :error end end end
Using the workspace command on the if keyword of the expression will result in:
if
defmodule Example do def run(foo) do cond do foo -> :ok true -> :error end end end
Consider the following:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A workspace command that converts an if expression into a cond expression
Example:
Using the workspace command on the
if
keyword of the expression will result in:Consider the following:
The text was updated successfully, but these errors were encountered: