Unused functions.

Matthias Lang matthias@REDACTED
Wed Feb 5 07:57:37 CET 2003

Pierpaolo BERNARDI writes:

 > is there a way to tell the compiler not to evict apparently 
 > unused functions?  
 > I have a bunch of functions that are called only via apply. 
 > The compiler warns that these functions are unused and 
 > removes them.

Apply can only call exported functions.

The compiler is doing the right thing. It is removing functions which
you cannot possibly call. See also the manual entry about 'apply':



More information about the erlang-questions mailing list