Reflection in erlang

Samuel Tardieu sam@REDACTED
Sat Jan 31 13:57:04 CET 2004


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




More information about the erlang-questions mailing list