View Source TypeCheck.TypeError.DefaultFormatter (TypeCheck v0.12.0)
Link to this section Summary
Functions
Transforms a problem_tuple
into a humanly-readable explanation string.
Callback implementation for TypeCheck.TypeError.Formatter.format/2
.
Link to this section 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
.