2 ms·
So dependent types aren't static? How does Idris solve this problem when compiling to JavaScript?
by k__ 8y ago
So dependent types aren't static?
How does Idris solve this problem when compiling to JavaScript?
- nardi 8y agoDependent 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.