re. github.com/jonsterling/dr, have you considered how error reporting might work with the refiner? Seems like a really neat approach - but just a little worried about providing a nice diagnostics about the surface syntax and supporting error recovery, etc.
Conversation
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
Idea is that you don't want your type checker to stop at the first error. You'd prefer it if it could continue type checking, giving you more than one error.
4
1
1
Would you truly prefer that?
1
Yeah! I'd like it to be able to do the best it can, given the information it is confident about.
1
I’m thinking about C++ as well as the Erlang Dialyzer and how any error after the first is almost always useless noise.
2
This isn't really the case that I've found with Rust. But I dunno what wizardry is going on behind the scenes. 😅
Guessing maybe success typing (in the case of Dialyzer) and templates (in the case of C++) might make error recovery much harder?

