b246c44d308276b96493dc2c63fba4d0cb6653c1
[ghc-base.git] / Text / Show / Functions.hs
1 -----------------------------------------------------------------------------
2 -- 
3 -- Module      :  Text.Show.Functions
4 -- Copyright   :  (c) The University of Glasgow 2001
5 -- License     :  BSD-style (see the file libraries/core/LICENSE)
6 -- 
7 -- Maintainer  :  libraries@haskell.org
8 -- Stability   :  provisional
9 -- Portability :  portable
10 --
11 -- $Id: Functions.hs,v 1.1 2001/06/28 14:15:04 simonmar Exp $
12 --
13 -- Optional instance of Text.Show.Show for functions.
14 --
15 -----------------------------------------------------------------------------
16
17 module Text.Show.Functions where
18
19 import Prelude
20
21 instance Show (a -> b) where
22         showsPrec _ _ = showString "<function>"