[erlang-questions] hrl files

Robert Virding <>
Wed Jun 16 23:56:32 CEST 2010

You can only compile a complete module, with module declaration,
exports and functions. So if a .hrl file contains all of this then it
is possible to compile a .hrl file. This is usually how .hrl files are
used though, they are generally used as include files.


On 16 June 2010 22:31, Jean-Yves F. Barbier <> wrote:
> Hi list,
> is it possible to compile .hrl files?
> --
> What if there had been room at the inn?
>                -- Linda Festa on the origins of Christianity
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:

More information about the erlang-questions mailing list