[Haskell-cafe] Solving the configuration problem with parametrized modules
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
seems more relevant.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe