[erlang-questions] Multiple modules
Romain Lenglet
rlenglet@REDACTED
Thu Oct 5 11:03:26 CEST 2006
Vlad Dumitrescu wrote:
> On 10/5/06, Joe Armstrong <erlang@REDACTED> wrote:
> > I often have a number of small but related modules and it
> > would be nice to distributed them as a single file.
> >
> > Conceptually an application *is* one thing - so I'd like to
> > distribute one file
>
> Yes, I agree. But this has some semantic effects too (like
> linking the modules together tightly), that need to be tought
> over.
>
> Personally, I use zip or tar for the "one file" effect without
> any semantic side-effects ;-)
And it seems that the support for archives is already there: the
erl_tar module in stdlib supports archives compressed with gzip
(.tar.gz).
I am not sure if making the code loader depend on this module in
stdlib is a nice idea...
--
Romain LENGLET
More information about the erlang-questions
mailing list