X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=Data%2FBool.hs;h=0e1453846a780b7fbd6426447ede7dd08f5d1307;hb=d3547c663c47e38afe6cbe1193beb475fd6e836e;hp=2515d5884e38879c9211d808f2a50dbb16c60016;hpb=f7a485978f04e84b086f1974b88887cc72d832d0;p=haskell-directory.git diff --git a/Data/Bool.hs b/Data/Bool.hs index 2515d58..0e14538 100644 --- a/Data/Bool.hs +++ b/Data/Bool.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fno-implicit-prelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Bool @@ -9,12 +9,14 @@ -- Stability : experimental -- 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 @@ -24,3 +26,14 @@ module Data.Bool ( #ifdef __GLASGOW_HASKELL__ import GHC.Base #endif + +#ifdef __NHC__ +import Prelude +import Prelude + ( Bool(..) + , (&&) + , (||) + , not + , otherwise + ) +#endif