1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
4 -- Module : Data.Either
5 -- Copyright : (c) The University of Glasgow 2001
6 -- License : BSD-style (see the file libraries/core/LICENSE)
8 -- Maintainer : libraries@haskell.org
9 -- Stability : experimental
10 -- Portability : portable
12 -- $Id: Either.hs,v 1.2 2001/07/03 11:37:49 simonmar Exp $
14 -- The Either type, and associated operations.
16 -----------------------------------------------------------------------------
20 either -- :: (a -> c) -> (b -> c) -> Either a b -> c
23 #ifdef __GLASGOW_HASKELL__