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

Hugh Perkins <>
Mon Sep 3 04:28:56 CEST 2007


Great, thanks :-)

On 9/3/07, Michael McDaniel <> wrote:
> 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
> > 
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
> > !DSPAM:52,46db6ad173328422919261!
> >
> >
>
> --
> Michael McDaniel
> Portland, Oregon, USA
> http://autosys.us
> +1 503 283 5284
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list