On 10/8/07, Henning Thielemann <[EMAIL PROTECTED]> wrote:
>
>
> Thus, what happens today? People ask Haskell-Cafe how to implement global
> variables and they are advised to use IORefs and unsafePerformIO, although
> the better answer is: "Why do you want to do this?" Even "Tackling the
> awkward squad" considers unsafePerformIO an acceptable tool for handling
> global configuration files.


One problem here is that the Haskell-style alternatives to global parameters
aren't as convenient as to use.

We should consider stealing Agda's module system for Haskell 2.0.

-- 
Dave Menendez <[EMAIL PROTECTED]>
<http://www.eyrie.org/~zednenem/>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to