TypeCheck v0.2.0 TypeCheck.Builtin.List View Source
Link to this section Summary
Link to this section Types
Specs
problem_tuple() ::
{t(), :not_a_list, %{}, any()}
| {t(), :element_error,
%{
problem: TypeCheck.TypeError.Formatter.problem_tuple(),
index: non_neg_integer()
}, any()}
This type is managed by TypeCheck,
which allows checking values against the type at runtime.
Full definition:
problem_tuple :: {t(), :not_a_list, %{}, any()} | {t(), :element_error, %{problem: lazy(TypeCheck.TypeError.Formatter.problem_tuple()), index: non_neg_integer()}, any()} Specs
t()
This type is managed by TypeCheck,
which allows checking values against the type at runtime.
Full definition:
head (opaque type)