Adds a separte typing system #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "milner_type_checking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prior to this MR, a minimal type system was in place in the parser.
This had its limits. Notably, when coding in the foldl expression,
we had to hardcode the type.
In this MR, we attempt to build something almost, but not quite, entirely
unlike a Hindley-Milner typing system[1].
This also lets us get rid of all the ConstantUIn32 etc. classes.
[1] https://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system
Replaced by #4
Pull request closed