Dialyxir.Warnings.GuardFailPattern (Dialyxir v1.4.3) View Source
The clause guard describes a condition of literals that fails the pattern given in the function head.
Example
defmodule Example do
def ok(n = 0) when not n < 1 do
:ok
end
end
The clause guard describes a condition of literals that fails the pattern given in the function head.
defmodule Example do
def ok(n = 0) when not n < 1 do
:ok
end
end