[Haskell] Re: Global Variables and IO initializers

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Nov 8 09:30:46 EST 2004


Krasimir Angelov <ka2_mail at yahoo.com> writes:

> I guess that this is an overkill since we can just
> define IO as
>
> type IO a = ST RealWorld a

'instance MonadIO IO' would start to need some type system extensions.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Haskell mailing list