context: this is for a tiny Scheme-like language that compiles to GLSL shader code. GLSL is quite limited in what can be expressed so it should make the complexity manageable. I just don't want to have to declare the types of function arguments and let bindings.
anyone got any good references for implementing hindley-milner type inference? https://course.ccs.neu.edu/cs4410sp19/lec_type-inference_notes.html is the most accessible thing I've found so far due to using a lot of plain english but there's still a lot of ML notation and tbh I have a hard time reading that stuff.