Skip to content

minor error in ghc manual regarding type defaulting

In section 2.4.5 "Type defaulting in GHCi" of the GHC manual (http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/interactive-evaluation.html#extended-default-rules) the second paragraph says

show (reverse []) ... has type (Show a) => a

which should be

show (reverse []) ... has type (Show a) => String

Trac metadata
Trac field Value
Version 6.12.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Documentation
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information