X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FBool.hs;h=0e1453846a780b7fbd6426447ede7dd08f5d1307;hb=052b9b84fff4bffabbd93d19cb17a2c6c6672128;hp=181df1e420fa8cb5417d15a3f72f03cd6a44fe84;hpb=9fa9bc17072a58c0bae2cce4764d38677e96ac29;p=ghc-base.git diff --git a/Data/Bool.hs b/Data/Bool.hs index 181df1e..0e14538 100644 --- a/Data/Bool.hs +++ b/Data/Bool.hs @@ -1,22 +1,22 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fno-implicit-prelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Bool -- Copyright : (c) The University of Glasgow 2001 --- License : BSD-style (see the file libraries/core/LICENSE) +-- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : libraries@haskell.org -- Stability : experimental -- Portability : portable -- --- $Id: Bool.hs,v 1.3 2002/04/24 16:31:39 simonmar Exp $ --- --- The Bool type and related functions. +-- The 'Bool' type and related functions. -- ----------------------------------------------------------------------------- module Data.Bool ( + -- * Booleans Bool(..), + -- ** Operations (&&), -- :: Bool -> Bool -> Bool (||), -- :: Bool -> Bool -> Bool not, -- :: Bool -> Bool @@ -26,3 +26,14 @@ module Data.Bool ( #ifdef __GLASGOW_HASKELL__ import GHC.Base #endif + +#ifdef __NHC__ +import Prelude +import Prelude + ( Bool(..) + , (&&) + , (||) + , not + , otherwise + ) +#endif