[GHC] #5960: Show instance for Digraph.Forest overlaps with Show [a]

GHC cvs-ghc at haskell.org
Wed Mar 28 08:53:06 CEST 2012


#5960: Show instance for Digraph.Forest overlaps with Show [a]
------------------------------+---------------------------------------------
 Reporter:  SimonHengel       |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  GHC API         
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by simonpj@…):

 commit 4ecfc7ffab0b8578490f7fbe8aa8912f4af1a76a
 {{{
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Wed Mar 28 07:02:23 2012 +0100

     Remove Show instance for Forest

     A Forest is just a list, and we have a Show instance for
     lists already.  We don't need a special Show instance for
     Forests.  If we change our minds we can add a newtype,
     but I don't think it's worth it.

     Fixes Trac #5960

  compiler/utils/Digraph.lhs |    6 ------
  1 files changed, 0 insertions(+), 6 deletions(-)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list