#5406: Template Haskell: Reification of type family instances
---------------------------------+------------------------------------------
    Reporter:  reinerp           |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Template Haskell  |      Version:  7.0.4       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit 10c882760aea96a679a98bf76a603c1eeb99ecb8
 {{{
 Author: Simon Peyton Jones <[email protected]>
 Date:   Tue Aug 23 13:46:43 2011 +0100

     Implement lookupTypeName/lookupValueName, and reification of type
 family instances

     This patch (and its TH counterpart) implements
        Trac #4429 (lookupTypeName, lookupValueName)
        Trac #5406 (reification of type/data family instances)

     See detailed discussion in those tickets.

     TH.ClassInstance is no more; instead reifyInstances returns a [Dec],
     which requires fewer data types and natuarally accommodates family
     instances.

     'reify' on a type/data family now returns 'FamilyI', a new data
     constructor in 'Info'

  compiler/typecheck/TcHsType.lhs |    2 +-
  compiler/typecheck/TcSplice.lhs |  163
 ++++++++++++++++++++++++++++----------
  2 files changed, 121 insertions(+), 44 deletions(-)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to