
6 Feb
2008
6 Feb
'08
6:34 p.m.
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:Bulat.Ziganshin@gmail.com