News for hackers. Stuff that matters.
Re:Compiler basics: Lisp to Assembly by piinbinary on Monday November 26, 2018 @11:26AM (#18534450)
I wrote a bit about how to inter types here: http://jeremymikkola.com/posts/2018_03_25_understanding_algo...

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....

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.