compile attribute is used when you want to define some compiler options for specific erlang module. This attribute sccepts one parameter which is compiler option. Here export_all is a compiler option which tells to the compiler that export all functions from this file. You can define other compiler options too.

6617