Re:Show HN: Conway's Game of Life in TypeScript's type system
by prologist on Friday September 08, 2023 @06:05PM
(#37439948)
It's just a demonstration of how to encode the transition rules for Conway's game of life as a set of types, aka logical constraints. TypeScript's type system has unification, same as in Prolog, and since Prolog is basically Turing complete so is TypeScript's type system.
[ Parent
| on HN ]