[GHC] #7730: :info and polykinds
GHC
ghc-devs at haskell.org
Wed May 7 20:30:35 UTC 2014
#7730: :info and polykinds
--------------------------------------------+------------------------------
Reporter: monoidal | Owner: archblob
Type: bug | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler (Type checker) | Version: 7.6.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets: #8776
--------------------------------------------+------------------------------
Comment (by archblob):
We will also need extra information on {{{IfaceTyCon}}}, if it's a
promoted data constructor or promoted type constructor in order to quote
it when appropriate (promoted type constructors are only quoted when using
{{{-dppr-debug}}}).
This extra information is only needed in the case of {{{IfaceTyConApp}}}
but the current {{{newtype IfaceTyCon = IfaceTc { ifaceTyConName ::
IfExtName } }}} is also used for coercion constructors so we might need to
use a separate representation for type constructors in the context of
{{{IfaceTyConApp}}} that contains this extra information.
I was thinking something like:
{{{#!haskell
-- I'm not really fond of the names
IfacePTyCon
= IfacePDataCon IfExtName
| IfacePTyCon IfExtName
| IfaceStdTyCon IfExtName
}}}
This would not really change things, it is again just more tagging.
Andrei
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7730#comment:36>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list