summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Either.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2008-03-05 01:58:27 +0000
committerDon Stewart <dons@galois.com>2008-03-05 01:58:27 +0000
commitc0e1b8dd3f3014e20a6a8b6a3a9a017cdde27f59 (patch)
tree416fdbc12d8f79e70697d474c033889a95505ffb /libraries/base/Data/Either.hs
parent4c61e6fe6e541a9ebf6f78a622d752b57ead3acf (diff)
downloadhaskell-c0e1b8dd3f3014e20a6a8b6a3a9a017cdde27f59.tar.gz
untabify
Diffstat (limited to 'libraries/base/Data/Either.hs')
-rw-r--r--libraries/base/Data/Either.hs4
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@;