Re:Show HN: Conway's Game of Life in TypeScript's type system
by prologist on Friday September 08, 2023 @06:02PM
(#37439918)
Any sufficiently advanced type system is indistinguishable from Prolog.
[ Parent
| on HN ]
Re:Show HN: Conway's Game of Life in TypeScript's type system
by baq on Friday September 08, 2023 @06:33PM
(#37440157)
Note to readers: if the author’s username doesn’t make it obvious, it’s funny because is true.
If feeling adventurous, read e.g. https://lpn.swi-prolog.org/lpnpage.php?pagetype=html&pageid=...
Re:Show HN: Conway's Game of Life in TypeScript's type system
by divs1210 on Friday September 08, 2023 @07:30PM
(#37440565)
commenting for future reference.
that's a great quote.
Re:Show HN: Conway's Game of Life in TypeScript's type system
by prologist on Friday September 08, 2023 @07:57PM
(#37440792)
Thanks. The Shen language takes this to its logical conclusion (pun intended) and implements a fully Turing complete type system. Types are specified with sequents which are essentially Prolog relations using a slightly different notation.[1]