[GHC] #8241: GHCi showing its internals with malformed instance

GHC ghc-devs at haskell.org
Fri Sep 6 11:43:15 CEST 2013


#8241: GHCi showing its internals with malformed instance
-------------------------------------+------------------------------------
        Reporter:  crntaylor         |            Owner:
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.4.2
      Resolution:  worksforme        |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by ezyang):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Works fine in 7.6:

 {{{
 ezyang at javelin:~$ ghci
 GHCi, version 7.6.2: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> instance Eq a => Eq b => Eq (a -> b) where (==) = undefined

 <interactive>:2:10: Malformed instance: Eq a => Eq b => Eq (a -> b)
 }}}

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




More information about the ghc-tickets mailing list