What's wrong with Hindley-Milner?
Leaving out types in public API's makes type errors hard to understand. Types should be declared in the API and bidirectional type inference used in the implementation.
https://jimmyhmiller.com/easiest-way-to-build-type-checker
Leaving out types in public API's makes type errors hard to understand. Types should be declared in the API and bidirectional type inference used in the implementation.
https://jimmyhmiller.com/easiest-way-to-build-type-checker