modifyIORef in IOExts/hslibs
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Thu Jan 4 08:44:55 EST 2001
Wed, 3 Jan 2001 23:42:51 +0100 (MET), Axel Krauth <krauth at infosun.fmi.uni-passau.de> pisze:
> I'm using the IOExts-library and want to use
> modifyIORef instead of updateIORef which is marked as deprecated
> (section 4.14.2 in the hslibs documentation).
> Unfortunately IOExts.hi doesn't export modifyIORef. It only
> exports updateIORef..
In ghc-4.08.1 (the latest released version) it was called updateIORef.
In development versions it is called modifyIORef and updateIORef is
still kept for compatibility.
> Is it safe to use updateIORef meanwhile?
Yes.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTÊPCZA
QRCZAK
More information about the Glasgow-haskell-bugs
mailing list