Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an Erlang hrl file?

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

like image 804
yazz.com Avatar asked Feb 22 '10 16:02

yazz.com


People also ask

What is HRL file format?

Specifies the Hyper-V Replica Log (HRL) File Format. Hyper-V Replica log files, required for tracking changes that have been made to the primary server, are created as part of failover replication. They are transported to the recovery server and parsed; updates are then applied to the recovery server.

How do I open an .HRL file?

You need a suitable software like Hyper V to open an HRL file. Without proper software you will receive a Windows message "How do you want to open this file?" or "Windows cannot open this file" or a similar Mac/iPhone/Android alert. If you cannot open your HRL file correctly, try to right-click or long-press the file.

What is the point of header files?

The primary purpose of a header file is to propagate declarations to code files. Header files allow us to put declarations in one location and then import them wherever we need them. This can save a lot of typing in multi-file programs.


1 Answers

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.

like image 161
jldupont Avatar answered Sep 26 '22 18:09

jldupont