[project @ 2002-04-26 13:34:05 by simonmar]
[ghc-base.git] / Control / Monad / Fix.hs
index f69d790..1122588 100644 (file)
@@ -1,6 +1,5 @@
-{-# OPTIONS -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
--- 
+-- |
 -- Module      :  Control.Monad.Fix
 -- Copyright   :  (c) Andy Gill 2001,
 --               (c) Oregon Graduate Institute of Science and Technology, 2001
@@ -10,8 +9,6 @@
 -- Stability   :  experimental
 -- Portability :  portable
 --
--- $Id: Fix.hs,v 1.3 2002/03/14 12:09:49 simonmar Exp $
---
 -- The Fix monad.
 --
 --       Inspired by the paper:
@@ -29,14 +26,7 @@ module Control.Monad.Fix (
        fix     -- :: (a -> a) -> a
   ) where
 
-#ifdef __GLASGOW_HASKELL__
--- MonadFix is needed by System.IO, so it is below the Prelude.
-import Control.Monad
-import GHC.Base
-import GHC.Err
-import Data.Maybe
-#endif
-
+import Prelude
 import System.IO
 
 fix :: (a -> a) -> a