[erlang-questions] Beginner's question on Erlang compilation

Kostis Sagonas kostis@REDACTED
Mon Jun 9 11:55:21 CEST 2008


Alexander Lamb wrote:
> Hello,
> 
> When I compile my modules, the compiler doesn't check the existence of  
> functions in other modules.
>   ...
> If those functions don't exist, I will only know it when my code runs  
> and crashes.

You should take a look at and put a call to dialyzer at the end of your 
make.  It performs the checks you want and many more.  Nowadays it is 
part of the Erlang/OTP system and it is really easy to use.

Kostis



More information about the erlang-questions mailing list