[Haskell-cafe] Solving the configuration problem with parametrized modules

David Barbour dmbarbour at gmail.com
Tue Sep 6 00:40:23 CEST 2011

On Mon, Sep 5, 2011 at 3:15 PM, Erik de Castro Lopo <mle+hs at mega-nerd.com>wrote:

> Can't this be mostly solved by putting all these configuration parameters
> in a struct and then using implicit parameters:

Implicit parameters seem like a fair option. And propagating:

   (?fooConf :: FooConf) => ...

isn't any more difficult than explicit parameters in the type.

I guess the question is whether it is the parameterization or the
*staging *that
seems more relevant.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110905/20cfa2c3/attachment.htm>

More information about the Haskell-Cafe mailing list