Erlang FFI modules are in the global namespace#3

openedJan 26, 2026byLlpil

Hello!

The Erlang modules in this package are missing the parsed_it module name prefix

erlang
1-module(xml_ffi).
erlang
1-module(json_ffi).

They should be

erlang
1-module(parsed_it_xml_ffi).
erlang
1-module(parsed_it_json_ffi).

Cheers, Louis

V

@lpil is the concern with naming them xml_ffi and json_ffi module name conflicts? I want to avoid any issues for consumers but I don't have a ton of experience with erlang or the additional requirements the gleam build/package system add.

L

Yes, you should always use your namespace for Erlang, Gleam, and Elixir modules. That means putting a prefix on all modules that shares the name of your package, or a related package that you also own.