[GHC] #13262: Allow type synonym family application in instance head if it reduces away

GHC ghc-devs at haskell.org
Fri Feb 10 16:02:42 UTC 2017


#13262: Allow type synonym family application in instance head if it reduces away
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  lowest            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Perhaps we should guard the "first, we reduce type families as much as
 possible" step with the `TypeSynonymInstances` extension (which is implied
 by `FlexibleInstances`, apparently).

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


More information about the ghc-tickets mailing list