There is a case where {:ok} is used, but :ok would be the more expected type of code:
[ref to come]
which would better be written as:
with :ok <- validate_transmission(response),
:ok <- validate_server_headers(response),
I tried, and it works.
But at the same time turns vscode into a warning minefield:
If it works without turning everything orange, I'd happily go for it.
There is a case where
{:ok}is used, but:okwould be the more expected type of code:[ref to come]
which would better be written as:
I tried, and it works.
But at the same time turns vscode into a warning minefield:
If it works without turning everything orange, I'd happily go for it.