Conversation

Sadly constraint generation + solving has been a significant stumbling block for me when learning to implement type inference over the years. It shows up in many tutorials about type checking, which had led me to think it was somehow necessary for implementing it!
1
5
Yeah, so it seems! Thanks for the link! For some reason I had got it into my head that it was required, probably due to it appearing a bunch in tutorials. Apparently a lots of people on the PL discord I'm on were similarly surprised.
Quote Tweet
Sadly constraint generation + solving has been a significant stumbling block for me when learning to implement type inference over the years. It shows up in many tutorials about type checking, which had led me to think it was somehow necessary for implementing it!
Show this thread
1
4
Show replies
Show replies
Replying to
Huh, meanwhile this hadn't even occurred to me as a possible misconception. (Probably because I learned a lot of this stuff from András in the first place - lucky me!)
2
1
Heh, yeah, I think I've had to piece a bunch of stuff together over the years when teaching myself stuff, and so stuff like this can creep in. I'm pretty sure a bunch of folks on the /r/ProgrammingLanguages discord were similarly surprised!
1
1
Show replies
Show more replies