[erlang-questions] Function-related BIFs

Olivier BOUDEVILLE <>
Thu Jul 5 12:13:42 CEST 2007


Hi,

is there any way In Erlang to list programatically the functions exported 
by a given module and/or to resolve a function name (ex : "foobar/1") into 
its corresponding Fun object (a kind of reversed erlang:fun_to_list/1) ? 

I did not find any BIF for that. That would be very useful to implement 
introspection-like features.

Thanks in advance for any hint,

Olivier.
---------------------------
Olivier Boudeville

EDF R&D : 1, avenue du Général de Gaulle, 92140 Clamart, France
Département SINETICS, groupe ASICS (I2A), bureau C-052
Office : 33 1 47 65 59 58 / Mobile : 33 6 16 83 37 22 / Fax : 33 1 47 65 
34 24
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070705/21bf8dc2/attachment.html>


More information about the erlang-questions mailing list