How and Why I Implemented Type Inference in a Logic Language | Hacker News Reader