Hacker News new | ask | show | jobs
by erikj 3125 days ago
You can use embedded Prolog to implement type inference in your compiler. AFAIK that's how it's done in the Rust compiler.