finding exported clauses

Michael McDaniel <>
Wed Dec 7 09:44:04 CET 2005


On Tue, Dec 06, 2005 at 08:31:21PM -0500, Tom Whitcomb wrote:
> Hi,
> 
> Is there a way I find the exported clauses and their modules in an erlang shell environment.  Maybe something like:
> 
> getExportedClauses(Module) -> [clause] 
> getExportedClauses() -> [{module,clause}]
> 
> thanks for the help.
> 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

look at documentation for modules shell, code, c

erl> rp(code:all_loaded()).

erl> c:m(code).


~Michael


<znip>



More information about the erlang-questions mailing list