[erlang-questions] How to share record definitions between modules
Tue Apr 19 13:40:58 CEST 2011
You can define records in header files '.hrl' just like macros and thus
include these in multiple files.
On Tue, Apr 19, 2011 at 1:34 PM, Richard Evans <
> I have a record defined in one erlang file, and I want it to be available
> in another module.
> Is there a way to share the record between the two files without
> copying/pasting the record definition?
> Is there a similar way to share -type info between files?
> thanks in advance,
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions