> let aaa = unsafePerformIO  $ newIORef []
> writeIORef aaa [1,2,3]
> readIORef aaa
[(),(),()]

sincerely!
-- 
View this message in context: 
http://www.nabble.com/why-cannot-i-get-the-value-of-a-IORef-variable---tp26004111p26004111.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to