[project @ 2001-06-28 14:15:04 by simonmar]
[packages/pretty.git] / Data / Either.hs
1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
3 --
4 -- Module : Data.Either
5 -- Copyright : (c) The University of Glasgow 2001
6 -- License : BSD-style (see the file libraries/core/LICENSE)
7 --
8 -- Maintainer : libraries@haskell.org
9 -- Stability : experimental
10 -- Portability : non-portable
11 --
12 -- $Id: Either.hs,v 1.1 2001/06/28 14:15:02 simonmar Exp $
13 --
14 -- The Either type, and associated operations.
15 --
16 -----------------------------------------------------------------------------
17
18 module Data.Either (
19 Either(..),
20 either -- :: (a -> c) -> (b -> c) -> Either a b -> c
21 ) where
22
23 #ifdef __GLASGOW_HASKELL__
24 import GHC.Maybe
25 #endif