[erlang-questions] Ensure if a function/arity is exported from a module or not?

Zabrane Mickael zabrane3@REDACTED
Tue Aug 23 02:11:01 CEST 2011


Hi guys,

What's the correct/best way to ensure that a module exports a certain function or not?

Lets say:
-module(foo).
-export([main/1]).
...

I need to know if module foo exports or not main/1 without having foo source code of course (only foo.beam is available).

Regards,
Zabrane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110823/da8fbf64/attachment.htm>


More information about the erlang-questions mailing list