News for hackers. Stuff that matters.
Re:The Little Typer by k__ on Saturday September 22, 2018 @06:08PM (#18048265)
So dependent types aren't static?

How does Idris solve this problem when compiling to JavaScript?

Re:The Little Typer by nardi on Saturday September 22, 2018 @07:34PM (#18048567)
Dependent types are static. GP was trying to say that this book is about more than just normal static typing (of the kind that TypeScript adds to JavaScript).

There is no problem compiling dependent (or static) types to JaveScript, as the type checks are done at compile time, and don’t require any support from the JavaScript runtime.