tags:

views:

180

answers:

3

Does Erlang have libraries? Like math or stdio, from the C language. Where can they be found?

+8  A: 

A boat load of them.

jldupont
And at to the second part of the Q as to where they can be found then that depends on your installation. Default location is `/usr/local/lib/erlang/lib`. But since you never need to "include" them like in C you really don't need to worry about that.
Jon Gretar
Also, here's the motherload: http://projects.trapexit.org/web/
scvalex
+4  A: 

If You want to "locate" them You can use

code:root_dir().

or

code:lib_dir().

to "find" them...

bsmr
+1  A: 

You can allways install any library you need, compile, and point the enviroment ERL_LIBS var to it, example ..

mkdir ~/my_erlang_libs
cp my_wonderfull_erlang_lib ~/my_erlang_libs
export ERL_LIBS=~/my_erlang_libs

Regards.

mdaguete