
Hello, Do newSTArray, readSTArray, writeSTArray, etc. belong to an old deprecated Hugs library/module? If so, what is the Haskell 98 replacement? Thanks, Vasili

On May 18, 2009, at 18:34 , Vasili I. Galchin wrote:
Do newSTArray, readSTArray, writeSTArray, etc. belong to an old deprecated Hugs library/module? If so, what is the Haskell 98 replacement?
My understanding is they should be in the provided STArray module. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

On Mon, May 18, 2009 at 6:34 PM, Vasili I. Galchin
Hello,
Do newSTArray, readSTArray, writeSTArray, etc. belong to an old deprecated Hugs library/module? If so, what is the Haskell 98 replacement?
I don't know about Haskell 98, but I think the modern solution is to
use newArray, readArray, and writeArray from Data.Array.MArray.
There are more details at http://haskell.org/haskellwiki/Arrays.
--
Dave Menendez

thank to all respondents!
Vasili
On Mon, May 18, 2009 at 9:41 PM, David Menendez
On Mon, May 18, 2009 at 6:34 PM, Vasili I. Galchin
wrote: Hello,
Do newSTArray, readSTArray, writeSTArray, etc. belong to an old deprecated Hugs library/module? If so, what is the Haskell 98 replacement?
I don't know about Haskell 98, but I think the modern solution is to use newArray, readArray, and writeArray from Data.Array.MArray.
There are more details at http://haskell.org/haskellwiki/Arrays.
-- Dave Menendez
<http://www.eyrie.org/~zednenem/ http://www.eyrie.org/%7Ezednenem/>
participants (3)
-
Brandon S. Allbery KF8NH
-
David Menendez
-
Vasili I. Galchin