RE: general haskell question

1999-12-17 Thread Simon Marlow
> 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

Re: general haskell question

1999-12-16 Thread Marcin 'Qrczak' Kowalczyk
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

general haskell question

1999-12-16 Thread Peter Amstutz
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