add GHC.HetMet.{hetmet_kappa,hetmet_kappa_app}
[ghc-base.git] / Data / Bool.hs
1 {-# LANGUAGE CPP, NoImplicitPrelude #-}
2
3 -----------------------------------------------------------------------------
4 -- |
5 -- Module      :  Data.Bool
6 -- Copyright   :  (c) The University of Glasgow 2001
7 -- License     :  BSD-style (see the file libraries/base/LICENSE)
8 -- 
9 -- Maintainer  :  libraries@haskell.org
10 -- Stability   :  experimental
11 -- Portability :  portable
12 --
13 -- The 'Bool' type and related functions.
14 --
15 -----------------------------------------------------------------------------
16
17 module Data.Bool (
18    -- * Booleans
19    Bool(..),
20    -- ** Operations 
21    (&&),        -- :: Bool -> Bool -> Bool
22    (||),        -- :: Bool -> Bool -> Bool
23    not,         -- :: Bool -> Bool
24    otherwise,   -- :: Bool
25   ) where
26
27 #ifdef __GLASGOW_HASKELL__
28 import GHC.Base
29 #endif
30
31 #ifdef __NHC__
32 import Prelude
33 import Prelude
34   ( Bool(..)
35   , (&&)
36   , (||)
37   , not
38   , otherwise
39   )
40 #endif