[Haskell-cafe] Mutable arrays

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Feb 6 18:34:14 EST 2008

Hello Jeff,

Thursday, February 7, 2008, 1:31:59 AM, you wrote:

> I noticed that
> GHC implements mutable arrays in the IO monad.  This seems odd to
> me.  Arrays aren't related to IO. 

IO monad isn't only about I/O but about imperative stuff in general.
there is also special monad limited to mutable vars and arrays, namely
ST. read also this:

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list