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: http://haskell.org/haskellwiki/Modern_array_libraries http://haskell.org/haskellwiki/IO_inside -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe