X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=System%2FMem%2FWeak.hs;h=61dce1d1fec85b4b7b4a07391c3088abe8e52dab;hb=774276311da000ed74092b910efb07df802b6a60;hp=208302f8fcf2bb443b9612e940c8ce7bf65307df;hpb=40fe562f6d01f6076bf00a267dd24f57b45a1933;p=ghc-base.git diff --git a/System/Mem/Weak.hs b/System/Mem/Weak.hs index 208302f..61dce1d 100644 --- a/System/Mem/Weak.hs +++ b/System/Mem/Weak.hs @@ -67,13 +67,16 @@ module System.Mem.Weak ( -- $precise ) where -import Prelude +import Data.Maybe (Maybe(..)) #ifdef __HUGS__ import Hugs.Weak +import Prelude #endif #ifdef __GLASGOW_HASKELL__ +import GHC.Base (return) +import GHC.Types (IO) import GHC.Weak #endif