flâneur — a map of the web's best reading

A Lean Syntax Primer — overreacted

overreacted.io · 5,854 words · saved by 1 readers

Programming with proofs.

A Lean Syntax Primer September 2, 2025 Pay what you like This is my opinionated syntax primer for the Lean programming language. It is far from complete and may contain inaccuracies (I’m still learning Lean myself) but this is how I wish I was introduced to it, and what I wish was clarified. # Why Lean? This post assumes you’re already eager to learn a bit of Lean. For motivation, I humbly submit to you two takes: one from me and one from its creator . # Declaring Definitions Let’s start by writing a few definitions . These can appear at the top level of the file: def name := "Alice" def age :

Explore this link on the map →

saved by

related reading