What is an Erlang hrl file?

erlang, header-files

Solution

A "header file" akin to a "C" include file.

One needs to invoke the `-include` directive from an `.erl` file to use them. Can contain any valid Erlang code.

Problem

What is an `.hrl` file in Erlang/OTP? Is it some sort of library mechanism?

Original source

Related problems