[Haskell-cafe] [Haskell] ANN: global-variables-1.0

Henning Thielemann lemming at henning-thielemann.de
Wed Oct 12 20:20:31 CEST 2011

On Wed, 12 Oct 2011, Jean-Marie Gaillourdet wrote:

> * Simplify the "configuration problem" - at least for code in the
>   IO monad.
> Note, that this library does not encourage sloppy software design by
> re-introducing all bad effects of global variables.

But isn't this kind of solution for the "configuration problem" an example 
for sloppy software design? If a global configuration would be passed 
around, then you could easily use the program functions with different 
configurations simultaneously. In contrast to that, with the global IORef 
this is not possible.

More information about the Haskell-Cafe mailing list