TLDR Dev · ARTICLES & TUTORIALS

THE EASIEST WAY TO BUILD A TYPE CHECKER

jimmyhmiller.com8 min read

Summary from the TLDR Dev newsletter

Bidirectional Type Checking is a conceptually simple method for building type checkers. This article provides a functional type checker implementation for a small language, showing how it uses "infer" and "check" functions to determine and validate types.