Text.Show.Functions

base-4.12.0.0: Basic libraries

Copyright | (c) The University of Glasgow 2001
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | libraries@haskell.org
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell2010

Text.Show.Functions

Contents

- Orphan instances

Description

Optional instance of `Show` for functions:

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

# Orphan instances

Show (a -> b) # | Since: base-2.1
Instance details Methods showsPrec :: Int -> (a -> b) -> ShowS # show :: (a -> b) -> String # showList :: [a -> b] -> ShowS #