logo       

Re: Reflection in erlang: msg#00343

lang.erlang.general

Subject: Re: Reflection in erlang

On 31/01, Corrado Santoro wrote:

| I'm looking for an API that allows me to obtain info on a loaded module. In
| particular I would like to obtain the list of function exported with the
| arity.
|
| I looked at the documentation but I didn't found anything.
|
| Could anyone help me?

Call module_info/0 on the module.

Example:

Module = mnesia,
Module:module_info ().

Sam




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise