{-# OPTIONS -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
---
+-- |
-- Module : Prelude
-- Copyright : (c) The University of Glasgow 2001
-- License : BSD-style (see the file libraries/core/LICENSE)
-- Stability : provisional
-- Portability : portable
--
--- $Id: Prelude.hs,v 1.1 2001/06/28 14:15:01 simonmar Exp $
---
-- Standard module imported by default into Haskell modules.
--
-----------------------------------------------------------------------------
Rational,
[]((:), []),
- module GHC.Tup,
+ module Data.Tuple,
-- Includes tuple types + fst, snd, curry, uncurry
()(..), -- The unit type
(->), -- functions
(&&), (||), not, otherwise,
subtract, even, odd, gcd, lcm, (^), (^^),
fromIntegral, realToFrac,
- --exported by GHC.Tup: fst, snd, curry, uncurry,
+ --exported by Data.Tuple: fst, snd, curry, uncurry,
id, const, (.), flip, ($), until,
asTypeOf, error, undefined,
seq, ($!)
import Data.Either
import Data.Maybe
import Data.Bool
+import Data.Tuple
#ifdef __GLASGOW_HASKELL__
import GHC.Base
import GHC.Num
import GHC.Real
import GHC.Float
-import GHC.Tup
import GHC.Show
import GHC.Conc
import GHC.Err ( error, undefined )