Machete.Mismatch (machete v0.2.0)
Data and functions to deal with representing mismatches
Link to this section Summary
Functions
Pretty prints the specified list of mismatches, in a manner suitable for presentation to the user
Constructs an instance of Matchable.Mismatch
with the given message and path, wrapped in
a list and suitable for return from a Machete.Matchable.mismatches/2
call
Link to this section Types
Describes the details of a mismatch
Link to this section Functions
Link to this function
format_mismatches(mismatches, indent \\ "")
Pretty prints the specified list of mismatches, in a manner suitable for presentation to the user
Link to this function
mismatch(message, path \\ nil)
Constructs an instance of Matchable.Mismatch
with the given message and path, wrapped in
a list and suitable for return from a Machete.Matchable.mismatches/2
call