Print the terms when there's a type mismatch #300
Labels
better-in-python
Will be fixed by switching to python frontend
topics: error-messages
Issues involving the messages SAW produces on error
wontfix
Closed issues that we decided not to fix, but are still potentially relevant
Both Elm and GHC compilers print the problematic terms when there is a type mismatch. This will require passing more information to
unify
, perhaps a newDebugInformation
type rather than just anLName
.In the long term, I think Elm's compiler really shines in this sort of thing, and would be great to emulate:
The text was updated successfully, but these errors were encountered: