> In ghc there are IORefs and IOArrays (in the IOExts module) - like
> ML's refs, but they live in the IO monad. There are also STRefs and
> STArrays (in the ST and LazyST modules), which are similar, but can
> be safely encapsulated in a pure function.
>
> For threads there are MVars (in the Con
Thu, 16 Dec 1999 14:09:37 + (GMT), Peter Amstutz <[EMAIL PROTECTED]> pisze:
> I' trying to write a haskell program which is centered around a very
> large data structure that must be simultaneously modified by several
> threads of execution at different areas of the data structure.
> Now, un
I' trying to write a haskell program which is centered around a very
large data structure that must be simultaneously modified by several
threads of execution at different areas of the data structure. Now, while
I certainly understand the standard purely-functional "state-change" form
where you t