Am Mittwoch, 6. Februar 2008 23:31 schrieb Jeff φ: > > At the risk of starting a flame war, being labeled a troll, having Godwin's > law invoked, and suffering a life time ban from Haskell-Cafe, I'd like to > broach another subject. I noticed that GHC implements mutable arrays in > the IO monad. This seems odd to me. Arrays aren't related to IO. Are > there obstacles to mixing code that uses IO monads and array monads that > are most easily worked around by sticking mutable arrays into the IO monad?
IO(U)Arrays are only one variant of mutable Array, there are also ST(U)Arrays, which are often preferred. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe