[GHC] #9118: Can't eta-reduce representational coercions

GHC ghc-devs at haskell.org
Fri May 23 19:50:14 UTC 2014


#9118: Can't eta-reduce representational coercions
-------------------------------------+------------------------------------
        Reporter:  goldfire          |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #9117
-------------------------------------+------------------------------------

Comment (by rwbarton):

 nomeata: A type variable can't be instantiated at a(n unsaturated) type
 family (application), right? So `Coercion F1 F2` isn't a legal type-level
 expression at all.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9118#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list