Each module gets an __info__/1
function when it’s compiled. The function takes
one of the following atoms:
:functions
- keyword list of public functions along with their arities
:macros
- keyword list of public macros along with their arities
For example, we can list the Kernel
module’s functions: