Comment

Comment by cjbprime

In case folks miss the link at the top of the article, this is translated from an old 2017 post by Aphyr.

That post was in Haskell, where it's not too surprising that you can do serious computation inside the type system.

This new post translates the ideas to TypeScript, which is more widely known, and which I once heard described as having "accidentally Turing-complete" types:

https://github.com/microsoft/TypeScript/issues/14833

parent cjbprime 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton