X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FBool.hs;h=0e1453846a780b7fbd6426447ede7dd08f5d1307;hb=b1f2e321ceac8fcfc1f0756e2f5c2585fbd00b3c;hp=33804d27054da75bdb7db588fb3b60f70cdfa765;hpb=7f1f4e7a695c402ddd3a1dc2cc7114e649a78ebc;p=ghc-base.git diff --git a/Data/Bool.hs b/Data/Bool.hs index 33804d2..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 : non-portable --- --- $Id: Bool.hs,v 1.1 2001/06/28 14:15:02 simonmar Exp $ +-- Portability : portable -- --- 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