[GHC] #8888: Document Coercible in user's guide
GHC
ghc-devs at haskell.org
Fri Mar 14 12:37:52 UTC 2014
#8888: Document Coercible in user's guide
-------------------------------------+------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: merge
Priority: normal | Milestone: 7.8.1
Component: Documentation | Version: 7.8.1-rc2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonpj):
Replying to [comment:13 nomeata]:
> And if I export it in `GHC.Types` and import it from there, then haddock
and ghci (IIRC) display it as regular data type, not as a constraint,
Are you certain of that? Since it is in `wiredInTyCons` it will never get
into `GHC/Types.hi`, nor will it be read from the interface file, so GHCi
could never know that in the source file it was declared with `data`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8888#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list