add GHC.HetMet.{hetmet_kappa,hetmet_kappa_app}
[ghc-base.git] / Data / Bool.hs
index 2515d58..ba2d8ae 100644 (file)
@@ -1,4 +1,5 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# LANGUAGE CPP, NoImplicitPrelude #-}
+
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Bool
 -- Stability   :  experimental
 -- Portability :  portable
 --
--- The Bool type and related functions.
+-- The 'Bool' type and related functions.
 --
 -----------------------------------------------------------------------------
 
 module Data.Bool (
+   -- * Booleans
    Bool(..),
-   (&&),       -- :: Bool -> Bool -> Bool
-   (||),       -- :: Bool -> Bool -> Bool
-   not,                -- :: Bool -> Bool
-   otherwise,  -- :: Bool
+   -- ** Operations 
+   (&&),        -- :: Bool -> Bool -> Bool
+   (||),        -- :: Bool -> Bool -> Bool
+   not,         -- :: Bool -> Bool
+   otherwise,   -- :: Bool
   ) where
 
 #ifdef __GLASGOW_HASKELL__
 import GHC.Base
 #endif
+
+#ifdef __NHC__
+import Prelude
+import Prelude
+  ( Bool(..)
+  , (&&)
+  , (||)
+  , not
+  , otherwise
+  )
+#endif