Using Erlang libs in Elixir

Serge Aleynikov serge@REDACTED
Thu Sep 2 01:03:45 CEST 2021


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210901/91044035/attachment.htm>


More information about the erlang-questions mailing list