Using Erlang libs in Elixir
Serge Aleynikov <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CANt451kXHdTQSnBMxuxtg2v6eHL98Fds4i5JqqF_eJQQvZ5zhQ@mail.gmail.com> |
Is there any guideline for making Erlang projects be more Elixir friendly? When developing an Erlang library, it would be nice to have its functions callable from Elixir not like: :erl_lib.some_fun() but rather ErlLib.some_fun() without needing to write a "glue" module compiled into 'Elixir.ErlLib.beam' that would import all functions from erl_lib and export them locally? Are there more requirements of some metadata (e.g. '__info__'/1) to be included in the Erlang modules? Regards, Serge