Change an "undefined" into a more informative error; trac #2782
[ghc-base.git] / Data / Bool.hs
index 0e14538..10ca90a 100644 (file)
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -XNoImplicitPrelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Bool
@@ -17,10 +17,10 @@ module Data.Bool (
    -- * Booleans
    Bool(..),
    -- ** Operations 
-   (&&),       -- :: Bool -> Bool -> Bool
-   (||),       -- :: Bool -> Bool -> Bool
-   not,                -- :: Bool -> Bool
-   otherwise,  -- :: Bool
+   (&&),        -- :: Bool -> Bool -> Bool
+   (||),        -- :: Bool -> Bool -> Bool
+   not,         -- :: Bool -> Bool
+   otherwise,   -- :: Bool
   ) where
 
 #ifdef __GLASGOW_HASKELL__