[Haskell] TArray?

Sebastian Sylvan sebastian.sylvan at gmail.com
Tue Dec 13 07:32:46 EST 2005


Are there plans to include a mutable array for use in the STM monad,
or a good reason for why this is not needed? Also, an unboxed version
would be nice.

A workaround is IOArray with unsafePerformIO wrapped in the STM monad,
but it would be preferable if multiple threads could write to the same
array without causing conflicts unless they write to the same index.

/S
--
Sebastian Sylvan
+46(0)736-818655
UIN: 44640862


More information about the Haskell mailing list