@@ -26,7 +26,9 @@ module Data.FastWeakBag
2626#endif
2727 ) where
2828
29−import Control.Monad hiding (forM_, mapM_)
29+import Prelude hiding (traverse)
30+
31+import Control.Monad
3032import Control.Monad.IO.Class
3133
3234#ifdef GHCJS_FAST_WEAK
@@ -34,15 +36,12 @@ import GHCJS.Types
3436import Reflex.FastWeak (js_isNull, unsafeFromRawJSVal, unsafeToRawJSVal)
3537#else
3638import Control.Exception
37−import Data.Foldable (forM_, mapM_)
3839import Data.IntMap.Strict (IntMap)
3940import qualified Data.IntMap.Strict as IntMap
4041import Data.IORef
4142import System.Mem.Weak
4243#endif
4344
44−import Prelude hiding (mapM_, traverse)
45−
4645-- | A @FastWeakBag a@ holds a set of values of type @a@, but does not retain them -
4746-- that is, they can still be garbage-collected. As long as the @a@s remain
4847-- alive, the 'FastWeakBag' will continue to refer to them.