projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-07-06 16:17:36 by malcolm]
[haskell-directory.git]
/
Data
/
Bool.hs
diff --git
a/Data/Bool.hs
b/Data/Bool.hs
index
2515d58
..
0e14538
100644
(file)
--- a/
Data/Bool.hs
+++ b/
Data/Bool.hs
@@
-1,4
+1,4
@@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Bool
-----------------------------------------------------------------------------
-- |
-- Module : Data.Bool
@@
-9,12
+9,14
@@
-- Stability : experimental
-- Portability : portable
--
-- Stability : experimental
-- Portability : portable
--
--- The Bool type and related functions.
+-- The 'Bool' type and related functions.
--
-----------------------------------------------------------------------------
module Data.Bool (
--
-----------------------------------------------------------------------------
module Data.Bool (
+ -- * Booleans
Bool(..),
Bool(..),
+ -- ** Operations
(&&), -- :: Bool -> Bool -> Bool
(||), -- :: Bool -> Bool -> Bool
not, -- :: Bool -> Bool
(&&), -- :: Bool -> Bool -> Bool
(||), -- :: Bool -> Bool -> Bool
not, -- :: Bool -> Bool
@@
-24,3
+26,14
@@
module Data.Bool (
#ifdef __GLASGOW_HASKELL__
import GHC.Base
#endif
#ifdef __GLASGOW_HASKELL__
import GHC.Base
#endif
+
+#ifdef __NHC__
+import Prelude
+import Prelude
+ ( Bool(..)
+ , (&&)
+ , (||)
+ , not
+ , otherwise
+ )
+#endif