User loginNavigation 
Dependent Types for JavaScriptDependent Types for JavaScript, by Ravi Chugh, David Herman, Ranjit Jhala:
Some good progress on inferring types for a very dynamic language. Explicit type declarations are placed in comments that start with "/*:". /*: xâˆ¶Top â†’ {Î½ âˆ£ite Num(x) Num(Î½) Bool(Î½)} */ function negate(x) { if (typeof x == "number") { return 0  x; } else { return !x; } } By naasking at 20130323 15:08  ObjectFunctional  Theory  Type Theory  other blogs  24292 reads

Browse archivesActive forum topics 
Recent comments
1 hour 37 min ago
2 hours 4 min ago
2 hours 23 min ago
3 hours 3 min ago
3 hours 16 min ago
3 hours 34 min ago
4 hours 45 min ago
5 hours 14 min ago
5 hours 54 min ago
8 hours 2 min ago