|
|
|
|
|
by groovy2shoes
4796 days ago
|
|
I understand the notation, but I don't understand the reasoning behind the Abs+App restriction (why does it have to be that way). I've been working on my own language and haven't gotten to the type inference yet, so maybe I'll finally understand once I go through it. If the SPJ book is the one about implementing functional languages, then I've got a copy on my laptop I can peruse when I get home from work. |
|
This causes difficulties because the set of free type variables needs to be calculated in order for generalisation to produce safe type schemes, and that is tough to do for an unknown set of expressions.