[Haskell-cafe] Re: Global Variables and IO initializers
simons at cryp.to
Mon Nov 8 17:22:29 EST 2004
>> Just ask the C++ folks about the wonders of global
>> variables that are actually complex classes with a
>> constructor and a destructor.
> You can't use that as an argument against global
> variables in other languages.
Why not? Does the creation of global variables never fail in
Haskell? Besides, my main point is that they are
_unnecessary_ in my experience, not that it were impossible
to implement them.
More information about the Haskell-Cafe