3 ms·
Technically OCaml typechecking is exponential in the length of your program, but really that's just because it's exponential in the depth of your most deeply ne
by lmm 6y ago
Technically OCaml typechecking is exponential in the length of your program, but really that's just because it's exponential in the depth of your most deeply nested `let` construct, and most people don't actually write programs that look like
let a = ...
in let b = ...
in let c = ...
in let d = ...
- yawaramin 6y agoWait, that's actually really common in OCaml though. I mean not the indentation of course, but every series of let-bindings is essentially a single nested expression. That's just the way let-bindings work.