projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix imports for non-GHC
[ghc-base.git]
/
Data
/
Bool.hs
diff --git
a/Data/Bool.hs
b/Data/Bool.hs
index
66b804a
..
10ca90a
100644
(file)
--- a/
Data/Bool.hs
+++ b/
Data/Bool.hs
@@
-1,4
+1,4
@@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Bool
-----------------------------------------------------------------------------
-- |
-- Module : Data.Bool
@@
-17,12
+17,23
@@
module Data.Bool (
-- * Booleans
Bool(..),
-- ** Operations
-- * Booleans
Bool(..),
-- ** Operations
- (&&), -- :: Bool -> Bool -> Bool
- (||), -- :: Bool -> Bool -> Bool
- not, -- :: Bool -> Bool
- otherwise, -- :: Bool
+ (&&), -- :: Bool -> Bool -> Bool
+ (||), -- :: Bool -> Bool -> Bool
+ not, -- :: Bool -> Bool
+ otherwise, -- :: Bool
) where
#ifdef __GLASGOW_HASKELL__
import GHC.Base
#endif
) where
#ifdef __GLASGOW_HASKELL__
import GHC.Base
#endif
+
+#ifdef __NHC__
+import Prelude
+import Prelude
+ ( Bool(..)
+ , (&&)
+ , (||)
+ , not
+ , otherwise
+ )
+#endif