4 ms·
For type-safety, you can (optionally) add what are called type specs to your code with are processed with an analyzer tool called dialyzer [1]. This will identi
by ryanworl 12y ago
For type-safety, you can (optionally) add what are called type specs to your code with are processed with an analyzer tool called dialyzer [1]. This will identify errors related to types, as well as a few other kinds of errors.
This doesn't work with Elixir directly, but rather BEAM byte code (Erlang VM) which Elixir compiles down to.
[1]: http://www.erlang.org/doc/man/dialyzer.html http://www.erlang.org/doc/man/dialyzer.html