[erlang-questions] about the use of parametrized modules

Jachym Holecek freza@REDACTED
Fri Jan 14 12:31:14 CET 2011


# Paolo Negri 2011-01-14:
> > On Fri, Jan 14, 2011 at 12:26 AM, Jachym Holecek <freza@REDACTED> wrote:
> > [...]
> > I have a couple of modules where i pass along over and over the same
> > variable to be able to extract information from it.
> > Really looking at the misultin_req module produces a valid example of
> > my case [1].
> > But the whole point of asking here is to be aware of valid reasons not
> > to do so and to know which one would be instead a good approach.
> >
> > [1] https://github.com/ostinelli/misultin/blob/master/src/misultin_req.erl
> 
> Understood. I think what misultin_req is doing is exactly The Right Thing (TM)
> to do [...]

Embarrassingly, I missed the fact that misultin_req actually uses parametrised
modules -- but hopefully my point is clear from the rest of the message.

So much for writing email late at night...

Regards,
	-- Jachym


More information about the erlang-questions mailing list