You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently side-step the problem of type inference by requiring that every let binding must be explicitly annotated:
let (x: int) = length l in
...
This works, but is not ideal because it means we have to modify the programs a little.
Seeing as we're already using the compiler infrastructure in other parts of the project, we should be able to make the sanitization process more general by using the compiler to infer types for every binding, instead of using a syntactic restriction.
The text was updated successfully, but these errors were encountered:
We currently side-step the problem of type inference by requiring that every let binding must be explicitly annotated:
This works, but is not ideal because it means we have to modify the programs a little.
Seeing as we're already using the compiler infrastructure in other parts of the project, we should be able to make the sanitization process more general by using the compiler to infer types for every binding, instead of using a syntactic restriction.
The text was updated successfully, but these errors were encountered: