aaa <- newIORef ([]::[(Int,Int)])
writeIORef aaa [(1,1),(2,2),(3,3)] 

then if i want to change aaa to [(1,1),(2,222),(3,3)] , what's the best way
? 
re-write aaa is not permitted.

Sincerely!
-- 
View this message in context: 
http://www.nabble.com/How-can-i-safely-change-the-value-of-specified-key---tp26005244p26005244.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