Skip to content

Comment on Show HN: Conway's Game of Life in TypeScript's type system

Comments

How do I run this/see the results? I'm a little lost.

Same here. I hit "run" but get an error

Because it's all just types, there's nothing _to_ run. Instead, you'll want to hover your cursor over the `PGunX` types at the end of the file in the playground; this will cause the TS editor to compute that type and it should display a string corresponding to the board state.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.