#4071: minor error in ghc manual regarding type defaulting
---------------------------------+------------------------------------------
Reporter: rwbarton | Owner:
Type: bug | Status: new
Priority: normal | Component: Documentation
Version: 6.12.2 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
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`
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4071>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs