[GHC] #4175: GHCi support for type/data families should match that of related features

GHC cvs-ghc at haskell.org
Fri Mar 15 17:03:17 CET 2013


#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 <simonpj at microsoft.com>
 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



More information about the ghc-tickets mailing list