[project @ 2001-06-28 14:15:04 by simonmar]
[ghc-base.git] / Text / Show.hs
1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
3 -- 
4 -- Module      :  Text.Show
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   :  provisional
10 -- Portability :  portable
11 --
12 -- $Id: Show.hs,v 1.1 2001/06/28 14:15:04 simonmar Exp $
13 --
14 -- Exiting the program.
15 --
16 -----------------------------------------------------------------------------
17
18 module Text.Show (
19    ShowS,               -- String -> String
20    Show(
21       showsPrec,        -- :: Int -> a -> ShowS
22       show,             -- :: a   -> String
23       showList          -- :: [a] -> ShowS 
24     ),
25    shows,               -- :: (Show a) => a -> ShowS
26    showChar,            -- :: Char -> ShowS
27    showString,          -- :: String -> ShowS
28    showParen,           -- :: Bool -> ShowS -> ShowS
29  ) where
30
31 #ifdef __GLASGOW_HASKELL__
32 import GHC.Show
33 #endif   
34