[GHC] #10891: `reify` doesn't find associated type families

GHC ghc-devs at haskell.org
Sat Sep 19 17:26:36 UTC 2015


#10891: `reify` doesn't find associated type families
-------------------------------------+-------------------------------------
        Reporter:  antalsz           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  8.0.1
       Component:  Template Haskell  |                 Version:  7.10.2
      Resolution:                    |                Keywords:  type
                                     |  families; newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by osa1):

 How should default type instances be reified? e.g. if I have something
 like:

 {{{#!haskell
 class C a where
   type T a :: *
   type T a = a
 }}}

 Syntactically it looks like `TySynD` but semantically it's different.

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


More information about the ghc-tickets mailing list