X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FEither.hs;h=0c5e15347883878eca0ee28534ecd727d1ef24b5;hb=7a73aaf70fefb4b30c9159f5d15035f8e9c6e114;hp=65b366123d04ff09e8ccca7d53cea7f0389141ba;hpb=a87bf77d4a5dfaae56867a96749f204aee0192de;p=haskell-directory.git diff --git a/Data/Either.hs b/Data/Either.hs index 65b3661..0c5e153 100644 --- a/Data/Either.hs +++ b/Data/Either.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fno-implicit-prelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Either @@ -20,9 +20,7 @@ module Data.Either ( #ifdef __GLASGOW_HASKELL__ import GHC.Base -#endif -#ifndef __HUGS__ {-| The 'Either' type represents values with two possibilities: a value of @@ -41,4 +39,4 @@ data Either a b = Left a | Right b deriving (Eq, Ord ) either :: (a -> c) -> (b -> c) -> Either a b -> c either f _ (Left x) = f x either _ g (Right y) = g y -#endif /* __HUGS__ */ +#endif /* __GLASGOW_HASKELL__ */