All Erlang Modules in the Code Path
Here’s a little thing of beauty to get all Erlang modules in your code path, should you ever need it:
[list_to_atom(filename:basename(F, ".beam"))
|| P <- code:get_path(), F <- filelib:wildcard("*.beam", P)].
Here’s a little thing of beauty to get all Erlang modules in your code path, should you ever need it:
[list_to_atom(filename:basename(F, ".beam"))
|| P <- code:get_path(), F <- filelib:wildcard("*.beam", P)].