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

Adrian Hey ahey at iee.org
Mon Nov 8 14:47:40 EST 2004

On Monday 08 Nov 2004 12:14 pm, Lennart Augustsson wrote:
> Adrian Hey wrote:
> > Why are top level IORefs any worse than other IORefs (for
> > example)?
> Because global variables are just BAD.

Who said anything about global? 

> If you really grok the functional way of doing things there should
> be *very*, *very* few times you need a global variable.

"*very*, *very* few times" is not the same as never.

Adrian Hey

More information about the Haskell-Cafe mailing list