[Haskell-cafe] Re: [Haskell] Top Level <-

Ashley Yakeley ashley at semantic.org
Tue Aug 26 21:44:52 EDT 2008

Lennart Augustsson wrote:
> No hardware drivers use global variables.

No problem, write your hardware drivers in a different monad. Thus IO is 
the type for code that can use global variables, and H (or whatever) is 
the type for code that must not.

Ashley Yakeley

More information about the Haskell-Cafe mailing list