[erlang-questions] How to share record definitions between modules
Ken Robinson
kenrobinsonster@REDACTED
Tue Apr 19 14:01:15 CEST 2011
Hi Richard,
I believe to share types one does the following:
-export_type([func1/1, func2/5]).
Ken.
On Tue, Apr 19, 2011 at 9:34 PM, Richard Evans
<richardprideauxevans@REDACTED> wrote:
> 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,
> Richard
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
--
regards,
Ken Robinson
Mob +61438681120
Home +61738523767
More information about the erlang-questions
mailing list