News for hackers. Stuff that matters.
Re:Caramel: an Erlang back end for OCaml by loxs on Sunday September 27, 2020 @09:03AM (#24606328)
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.

Re:Caramel: an Erlang back end for OCaml by igouy on Sunday September 27, 2020 @11:11AM (#24607199)
Dialyzer is a static analysis tool.

https://erlang.org/doc/man/dialyzer.html

Re:Caramel: an Erlang back end for OCaml by loxs on Sunday September 27, 2020 @01:09PM (#24608154)
It is, but is_number is not, which I am replying to. Probably should have mentioned, my bad...