[erlang-questions] hrl files
Richard O'Keefe
ok@REDACTED
Thu Jun 17 05:16:52 CEST 2010
On Jun 17, 2010, at 8:31 AM, Jean-Yves F. Barbier wrote:
> Hi list,
>
> is it possible to compile .hrl files?
Whenever you compile a .erl file you are compiling the
contents of any .hrl files it includes.
If you mean something like "precompiled headers" from C
land, the reason for that is that your typical C source
file is 100 lines of code #including 20,000 lines of
system headers. Erlang isn't _that_ bad, so there would
be far less benefit from preprocessing .hrl files.
More information about the erlang-questions
mailing list