Hacker News with Generative AI: Type Theory

Sets, types and type checking (kaleidawave.github.io)
In the process of building a type-checker I have learnt a lot of the details about the theory of types and sets. With all this information I thought I would unpack all the details I have encountered along the way.
How the OCaml type checker works (2022) (okmij.org)
Data types as Lattices – Dana Scott [pdf] (github.com/CMU-HoTT)
Evolving languages faster with type tailoring (lambdaland.org)
A reckless introduction to Hindley-Milner type inference (2019) (reasonableapproximation.net)
Deriving Dependently-Typed OOP from First Principles (arxiv.org)