
12 Dec
2001
12 Dec
'01
10:17 p.m.
Why does module UserInput (from the Misc examples) need to import module Misc just because of updateIORef? Isn't updateIORef already defined in module IOExts? -- Andre

13 Dec
13 Dec
5:19 a.m.
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-MODIFIC... Cheers, S.
8559
Age (days ago)
8559
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andre W B Furtado
-
Sven Panne