Module attributes
Module attributes in Elixir serve three purposes:
- They serve to annotate the module, often with information to be used by the user or the VM.
- They work as constants.
- They work as a temporary module storage to be used during compilation.
Let’s check each case, one by one.