#4175: GHCi support for type/data families should match that of related features
---------------------------------+------------------------------------------
    Reporter:  claus             |       Owner:                    
        Type:  bug               |      Status:  patch             
    Priority:  low               |   Milestone:  7.6.2             
   Component:  GHCi              |     Version:  6.12.3            
    Keywords:  FD TF             |          Os:  Unknown/Multiple  
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown      
  Difficulty:  Unknown           |    Testcase:  ghci/scripts/T4175
   Blockedby:                    |    Blocking:                    
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonpj):

  * testcase:  => ghci/scripts/T4175


Comment:

 Thanks Patrick.  I've committed your patch, and added your example as a
 test case.

 I had to update Haddock, which leaves a new opportunity for Haddock too:
 {{{
 commit b6ef14069677c79f85cfdce7b5d69b06ca35f8b5
 Author: Simon Peyton Jones <[email protected]>
 Date:   Fri Mar 15 14:16:10 2013 +0000

     Adapt to tcRnGetInfo returning family instances too

     This API change was part of the fix to Trac #4175.  But it offers new
     information to Haddock: the type-family instances, as well as the
     class instances, of this type.

     This patch just drops the new information on the floor, but there's an
     open opportunity to use it in the information that Haddock displays.

  src/Haddock/Interface/AttachInstances.hs |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)
 }}}

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

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to