dialyzer-analysis
Installation
SKILL.md
Dialyzer Analysis
Understanding and fixing Dialyzer warnings in Erlang and Elixir code.
Type Specifications
Basic Specs
@spec add(integer(), integer()) :: integer()
def add(a, b), do: a + b
@spec get_user(pos_integer()) :: {:ok, User.t()} | {:error, atom()}
def get_user(id) do
# implementation
end