diff options
author | Don Stewart <dons@galois.com> | 2008-03-05 01:58:27 +0000 |
---|---|---|
committer | Don Stewart <dons@galois.com> | 2008-03-05 01:58:27 +0000 |
commit | c0e1b8dd3f3014e20a6a8b6a3a9a017cdde27f59 (patch) | |
tree | 416fdbc12d8f79e70697d474c033889a95505ffb /libraries/base/Data/Either.hs | |
parent | 4c61e6fe6e541a9ebf6f78a622d752b57ead3acf (diff) | |
download | haskell-c0e1b8dd3f3014e20a6a8b6a3a9a017cdde27f59.tar.gz |
untabify
Diffstat (limited to 'libraries/base/Data/Either.hs')
-rw-r--r-- | libraries/base/Data/Either.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Data/Either.hs b/libraries/base/Data/Either.hs index 0c5e153478..38766ad83d 100644 --- a/libraries/base/Data/Either.hs +++ b/libraries/base/Data/Either.hs @@ -15,7 +15,7 @@ module Data.Either ( Either(..), - either -- :: (a -> c) -> (b -> c) -> Either a b -> c + either -- :: (a -> c) -> (b -> c) -> Either a b -> c ) where #ifdef __GLASGOW_HASKELL__ @@ -31,7 +31,7 @@ either correct or an error; by convention, the 'Left' constructor is used to hold an error value and the 'Right' constructor is used to hold a correct value (mnemonic: \"right\" also means \"correct\"). -} -data Either a b = Left a | Right b deriving (Eq, Ord ) +data Either a b = Left a | Right b deriving (Eq, Ord ) -- | Case analysis for the 'Either' type. -- If the value is @'Left' a@, apply the first function to @a@; |