[project @ 2002-05-10 15:41:33 by simonmar]
[ghc-base.git] / Data / Bool.hs
1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
3 -- |
4 -- Module      :  Data.Bool
5 -- Copyright   :  (c) The University of Glasgow 2001
6 -- License     :  BSD-style (see the file libraries/base/LICENSE)
7 -- 
8 -- Maintainer  :  libraries@haskell.org
9 -- Stability   :  experimental
10 -- Portability :  portable
11 --
12 -- The 'Bool' type and related functions.
13 --
14 -----------------------------------------------------------------------------
15
16 module Data.Bool (
17    -- * Booleans
18    Bool(..),
19    -- ** Operations 
20    (&&),        -- :: Bool -> Bool -> Bool
21    (||),        -- :: Bool -> Bool -> Bool
22    not,         -- :: Bool -> Bool
23    otherwise,   -- :: Bool
24   ) where
25
26 #ifdef __GLASGOW_HASKELL__
27 import GHC.Base
28 #endif