[Haskell-cafe] Re: [Haskell] Re: Global Variables and IO initializers

Keean Schupke k.schupke at imperial.ac.uk
Sun Nov 7 17:47:42 EST 2004


Adrian Hey wrote:

>
>Oh and while we're at it, perhaps one of you could explain what it is
>you think is unsafe about the hypothetical top level <- bindings we're
>discussing (I've asked this before too, but no answer has been provided).
>
>Are your objections dogmatic, aesthetic, or rational?
>
>Do either of you object to the existance of such things as stdout?
>
>Or are you happy with their existance and it's just their safe creation
>you object to? If so, this seems like a strange contradiction to me.
>
>  
>
Just because something is possible does not make it desireable.
There may be certain extreme examples that really do require
this kind of thing - but I would have thought that if the code could
be refactored not to require it then that would be better.

Keean.



More information about the Haskell-Cafe mailing list