These are runtime checks and have nothing to do with what most people understand under the term "static typing/types".
Re:Caramel: an Erlang back end for OCaml
by filmor on Sunday September 27, 2020 @04:36PM
(#24609954)
Just to be clear, I intentionally never said anything about static types. The type system is "strong" in the sense that variables never change their type or are "interpreted" based on context, they don't even change their value after assignment.
And whether your types are runtime-checked or statically checked doesn't really matter with regard to the invariants that hold for your code. In the former case, you'll have to be able to handle type errors at runtime as well, which is reasonably easy in Erlang due to the strong isolation it provides.
Dialyzer is a static analysis tool.
Static typing severely hinders hot code-reload, which was deemed more important for long running systems.