View Source TypeCheck.TypeError.DefaultFormatter (TypeCheck v0.13.7)
Summary
Functions
Transforms a problem_tuple
into a humanly-readable explanation string.
Callback implementation for TypeCheck.TypeError.Formatter.format/2
.
Functions
@spec do_format(TypeCheck.TypeError.Formatter.problem_tuple()) :: String.t()
Transforms a problem_tuple
into a humanly-readable explanation string.
C.f. TypeCheck.TypeError.Formatter
for more information about problem tuples.
@spec format(TypeCheck.TypeError.problem_tuple(), TypeCheck.TypeError.location()) :: String.t()
Callback implementation for TypeCheck.TypeError.Formatter.format/2
.