[HOpenGL] updateIORef

Sven Panne Sven_Panne@BetaResearch.de
Thu, 13 Dec 2001 11:19:57 +0100


Andre W B Furtado wrote:
> [...] Isn't updateIORef already defined in module IOExts?

The module Misc is a remnant of ancient library times and could easily be
nuked nowadays. Two remarks:

   * The "official" place to get IORef-related stuff is module IORef.
     (surprise! ;-)

   * After some discussions on the GHC/libraries mailing lists we settled
     for some naming schemes, which led to the renaming of updateIORef to
     modifyIORef, see:

     http://haskell.org/ghc/docs/latest/set/hslibs-intro.html#SEC-LIBRARY-MODIFICATOR-NAMES

Cheers,
   S.