Typo
[packages/base.git] / Text / Show.hs
1 {-# LANGUAGE Safe #-}
2 {-# LANGUAGE NoImplicitPrelude #-}
3
4 -----------------------------------------------------------------------------
5 -- |
6 -- Module : Text.Show
7 -- Copyright : (c) The University of Glasgow 2001
8 -- License : BSD-style (see the file libraries/base/LICENSE)
9 --
10 -- Maintainer : libraries@haskell.org
11 -- Stability : provisional
12 -- Portability : portable
13 --
14 -- Converting values to readable strings:
15 -- the 'Show' class and associated functions.
16 --
17 -----------------------------------------------------------------------------
18
19 module Text.Show (
20 ShowS,
21 Show(showsPrec, show, showList),
22 shows,
23 showChar,
24 showString,
25 showParen,
26 showListWith,
27 ) where
28
29 import GHC.Show
30
31 -- | Show a list (using square brackets and commas), given a function
32 -- for showing elements.
33 showListWith :: (a -> ShowS) -> [a] -> ShowS
34 showListWith = showList__