Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Put JavaScript into types.

It's not without precedent - Haskell has a Turing complete type system. (There's also Scala, Rust, and C++ templates which are all arguably Turing tarpits.)



TypeScript also has a Turing-complete type system, if I remember correctly.


The joke in the release notes here asking developers not to publish Fibonacci computations in the type system to npm is not entirely a joke.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: