What means MutVar# ?

Hans Nikolaus Beck HNBeck at t-online.de
Thu Apr 8 13:46:19 EDT 2004


Hi,

by trying to understand how "writeIORef" works, I looked at

data STRef s a = STRef (MutVar# s a)

  what is MutVar# ? (especially zhe "#" ) ? I've readed tha writeIORef 
(and readIoRef etc) is used to write directly to memory places fo 
implementing variables, as in example in HOpenGL used.  Is this also 
Haskell standard ?

Thanks for help


Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 637 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20040408/3f4c05d3/attachment.bin


More information about the Glasgow-haskell-users mailing list