Hi,

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

<x-tad-bigger>data </x-tad-bigger><x-tad-bigger>STRef</x-tad-bigger><x-tad-bigger> s a = </x-tad-bigger><x-tad-bigger>STRef</x-tad-bigger><x-tad-bigger> (MutVar# s a)

</x-tad-bigger>
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
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to