base-4.10.1.0: Basic libraries

Copyright(c) The University of Glasgow 2001
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainer[email protected]
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Text.Show.Functions

Contents

Description

Optional instance of Show for functions:

instance Show (a -> b) where
   showsPrec _ _ = showString \"\<function\>\"

Orphan instances

Show (a -> b) #

Since: 2.1

Methods

showsPrec :: Int -> (a -> b) -> ShowS Source #

show :: (a -> b) -> String Source #

showList :: [a -> b] -> ShowS Source #