Re:Compiler basics: Lisp to Assembly
by AnaniasAnanas on Tuesday November 27, 2018 @02:52AM
(#18540362)
Why does everyone assume that the OP tries to implement type inference? System F and HM are incompatible with each other.
Two things I see missing from your code: A current substitution and a unification function.
This paper might also be helpful to read: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.65....