[erlang-questions] Get list of module exported functions?

Michael McDaniel erlangx@REDACTED
Mon Sep 3 04:15:48 CEST 2007


On Mon, Sep 03, 2007 at 10:00:10AM +0800, Hugh Perkins wrote:
> Hi, how can one get a list of a module's exported functions from erlang?
> 
> We can get a list of modules by doing:
> 
> erlang:loaded().
> 
> ... but I couldnt find the function to get a description of a specific module?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  if my module is named, say, maxdata, then

  m(maxdata).

or

 maxdata:module_info().


~Michael

> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 
> !DSPAM:52,46db6ad173328422919261!
> 
> 

-- 
Michael McDaniel
Portland, Oregon, USA
http://autosys.us
+1 503 283 5284



More information about the erlang-questions mailing list