[erlang-questions] Windows: checking for available packages?

Richard Andrews bflatmaj7th@REDACTED
Fri Aug 7 13:56:06 CEST 2009


If you think you know the name of the module you can try

1> code:load_file(mnesia).
{module,mnesia}
2> code:load_file(kjhsdfsadf).
{error,nofile}

or if it's an application you could try application:start(appName).

I find the most reliable way is to search the erlang installed
filesystem tree for files that look like what I want.

On Fri, Aug 7, 2009 at 9:48 PM, Elena Garrulo<egarrulo@REDACTED> wrote:
> Hello,
>
> I apologize if this question gets posted twice, but I've tried the
> Google Groups interface and it seemed to not work.
>
> I'd like to know how you can learn whether a package is available in
> your Erlang installation. To be specific, I'd like to know whether wx,
> ssl and database support is available into precompiled Erlang setup
> for Windows.
>
> I've tried to import such packages from the Erlang console, but that
> fails. OTOH, "-import(lists)." fails too, and AFAIK "lists" is a
> standard package.


More information about the erlang-questions mailing list