Dialyxir v1.0.0 Dialyxir.Warnings.GuardFailPattern 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