Loom

A blog engine that just works. One binary, no setup, no dependencies.

Posts tagged “exhaustiveness” (1)

Pattern Matching — Deconstructing Values by ShapeMar 22 31.2K

Pattern matching is the elimination form for algebraic types — the way you take apart what introduction rules put together. Exhaustiveness, nested patterns, guards, refutability, and the deep reason why the compiler insists you handle every case.

--c++20 --type-theory --pattern-matching --elimination-rules --exhaustiveness --case-analysis