[erlang-questions] Why are records not 'export'-able?

Mahesh Paolini-Subramanya <>
Mon Jul 2 17:23:14 CEST 2012

> On 30/06/2012, at 2:06 AM, Mahesh Paolini-Subramanya wrote:
>> If I have a record I use in just one module, I declare it in that module.
>> If I have a record I use across a number of modules, I declare it in an included file.
>> If I have a record that I use across a number of applications, I end up declaring it once in each application.
> Er, what stops you using the same -include file in more than one application?
> If I found myself wanting to use the same -record in more than one
> application, I'd lie down until the feeling wore off.  More precisely,
> I'd definitely want to hide that inside some sort of access module.

Oh ouch :-)

Mahesh Paolini-Subramanya
That Tall Bald Indian Guy...
Blog   |   Twitter   |   Google+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120702/d32e3795/attachment.html>

More information about the erlang-questions mailing list