Each module defines a __info__ function, you can use it to view the functions exported by this module:
IO.inspect ModuleB.__info__(:exports)
Please note that when using use , the module in question can enter code directly into the module being defined and create functions dynamically - this can lead to functions becoming available that were not defined in the used module.
source share