Unused functions.

Pierpaolo BERNARDI <>
Wed Feb 5 04:20:40 CET 2003


Hello,

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.

Now, this is not a serious problem: adding a -compile(export_all) 
solves it, but maybe there's a cleaner way?

Cheers
Pierpaolo




More information about the erlang-questions mailing list